lunixbochs / glshim

OpenGL 1.x driver shim for OpenGL ES devices.
https://boards.openpandora.org/topic/11506-glshim/
MIT License
161 stars 32 forks source link

glTexImage2D aborts local side #120

Open mittorn opened 9 years ago

mittorn commented 9 years ago

It not crashed before, now only glxgears work (but work correctly now). Abort in ring_write_multi:

panic: ring_write size 4194312 > unmarked 4194304

After i replaced abort() by return 0, all seems to work now. Except of water implementation in xash3d, but i think it is separate problem

mittorn commented 9 years ago

Under water all brushes are clearly black and fog has other color. (red seems to be forced to 1.0 and blue to 0.0, green channel works correctly). Fog visible only on models.

lunixbochs commented 9 years ago

The buffer wasn't big enough for your texture. You should increase the ringbuffer size at the top of ring.c. This is a duplicate of #92