mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-09-22 23:18:35 +02:00
86b4319d21
ny00 Using the OpenGL ES 1.1 renderer, after updating a texture with SDL_UpdateTexture (or SDL_UnlockTexture), a following call to SDL_RenderFillRect draws a rectangle with the wrong color (which appears to be the same as the texture's top-left pixel). Comparing SDL_render_gles.c:GLES_UpdateTexture to SDL_render_gl.c:GL_UpdateTexture, a missing call to glDisable appears to be the cause. After adding it back, the bug is resolved. |
||
---|---|---|
.. | ||
direct3d | ||
direct3d11 | ||
opengl | ||
opengles | ||
opengles2 | ||
psp | ||
software | ||
mmx.h | ||
SDL_d3dmath.c | ||
SDL_d3dmath.h | ||
SDL_render.c | ||
SDL_sysrender.h | ||
SDL_yuv_mmx.c | ||
SDL_yuv_sw_c.h | ||
SDL_yuv_sw.c |