bmx-ng / mky.mod

Mojo2 rendering engine for BlitzMax NG
2 stars 4 forks source link

samples/bumptest.bmx: Texture is not a render target texture #1

Closed GWRon closed 9 years ago

GWRon commented 9 years ago

Error only happens when doing a release build. The debug build runs fine.

All other samples work as expected (assume so).

woollybah commented 9 years ago

Have you the latest bcc? Have you rebuilt the module with it?

GWRon commented 9 years ago

fetched bcc brl pub. Rebuilt bcc...and disabled quick build

It rebuilt one module ...some basic one...but nothing more.

Will check further when at home again.

woollybah commented 9 years ago

There was an issue when referring to consts in modules, from within an (internally) imported file. Values were being exposed from the module's API as zero value.

This was fixed recently.

GWRon commented 9 years ago

will force-recompile modules at home.. bmk cannot know that it has to recompile modules because of changes in bcc (could be overcome but this is "too much")

woollybah commented 9 years ago

Indeed, whenever changes to bcc result in changes to the generated code, it's safest just to do a full rebuild of everything. In fact, whenever you get a new bcc, you may as well rebuild everything - just to be sure.

GWRon commented 9 years ago

The complete module rebuild indeed fixed the issue.