GL_INVALID_ENUM errors with FBO

H. Verbeet hverbeet at gmail.com
Sat Jul 26 00:48:06 CDT 2008


2008/7/25 Vitaliy Margolen <wine-devel at kievinfo.com>:
> Ok I think I see the problem:
> 0045:trace:d3d_surface:surface_load_ds_location before bind_fbo
> 0045:trace:d3d:bind_fbo 0x14f474 -> 0
> 0045:trace:d3d:bind_fbo glGenFramebuffersEXT() -> 2 @
> ../../../wine.git/dlls/wined3d/device.c:6084 call ok
> 0045:trace:d3d:bind_fbo glBindFramebuffer(0x8d40 2) @
> ../../../wine.git/dlls/wined3d/device.c:6087 call ok
> 0045:trace:d3d_surface:surface_load_ds_location after bind_fbo
>
> ...
> 0033:trace:d3d_surface:surface_load_ds_location before bind_fbo
> 0033:trace:d3d:bind_fbo 0x14f474 -> 2
> 0033:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7d05bc3f
> 0033:trace:seh:raise_exception  info[0]=00000000
> 0033:trace:seh:raise_exception  info[1]=00000028
>
>
> So it seems the FBOs are created in one thread used there, then
> rebounding in the new thread leads to the crash.
>
> Any ideas how to fix this? Or what to try?
>
AFAIK that's supposed to be legal and work, but it might be worth it
to try to trigger the issue in a standalone GL progam.



More information about the wine-devel mailing list