openFrameworks-RaspberryPi / openFrameworks

This repo has migrated into the openFramworks core! Please go to http://github.com/openFrameworks/openFrameworks for the latest!
http://github.com/openFrameworks/openFrameworks
Other
104 stars 11 forks source link

ofFbo compiles, but segfaults when used. #13

Closed bakercp closed 11 years ago

bakercp commented 11 years ago

ofFbo is currently disabled via configure.core.linuxarmv6l.default.make. It will compile but segfaults when used.

arturoc commented 11 years ago

this might be related to the fbo extension not present it should work with gles2 since it's mandatory there

jvcleave commented 11 years ago

This was the error message I was getting

(gdb) r
Program received signal SIGSEGV, Segmentation fault.
0x00098430 in ofGLIsFixedPipeline() ()
(gdb) 
arturoc commented 11 years ago

mmh, that's actually related with the changes i did for opengles2 i'll take a look and update julapy's branch

arturoc commented 11 years ago

can you change in ofGLUtils line 151 to:

return ofGetCurrentRenderer() && ofGetCurrentRenderer()->getType()!="GLES2";

that should fix it, i'll upload the changes to julapy's branch later

bakercp commented 11 years ago

Resolved with a collection of commits.