diff options
author | Sven Gothel <[email protected]> | 2012-10-06 07:19:37 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-10-06 07:19:37 +0200 |
commit | 630d43be7a8cccf28632fc1f7542bb484382d775 (patch) | |
tree | ab551fddfc020f4e0a079e127098a944a114e1ac /src/newt/native | |
parent | d3033e42faa909f6c1055f5ba3c7925766a3e583 (diff) |
Fix Bug 617 (part2): Workaround buggy GPU driver where FBO reattachment of Colorbuffer w/ diff size leads to GL_FRAMEBUFFER_UNSUPPORTED.
This occured at least on:
- OS X 10.6.8
- GL_RENDERER NVIDIA GeForce 7300 GT OpenGL Engine
- GL_VERSION 2.1 NVIDIA-1.6.36
Remedy is to catch the exception @ GLFBODrawableImpl.reset(..) and switch over to
fallback 'reset' method:
FBO reattachment -> FBO complete recreation
Of course, the FBO recreation is noticable slower,
but at least it seems to work on the offending system.
Not tested on the offending system, but manually provoked GLException on FBOObject
to trigger fallback, which is working here.
Diffstat (limited to 'src/newt/native')
0 files changed, 0 insertions, 0 deletions