mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
opengles1: set some non-zero drawstate defaults.
This commit is contained in:
parent
c20a858da5
commit
daad53af13
@ -1176,6 +1176,10 @@ GLES_CreateRenderer(SDL_Window * window, Uint32 flags)
|
|||||||
data->glEnableClientState(GL_VERTEX_ARRAY);
|
data->glEnableClientState(GL_VERTEX_ARRAY);
|
||||||
data->glDisableClientState(GL_TEXTURE_COORD_ARRAY);
|
data->glDisableClientState(GL_TEXTURE_COORD_ARRAY);
|
||||||
|
|
||||||
|
data->drawstate.blend = SDL_BLENDMODE_INVALID;
|
||||||
|
data->drawstate.color = 0xFFFFFFFF;
|
||||||
|
data->drawstate.clear_color = 0xFFFFFFFF;
|
||||||
|
|
||||||
return renderer;
|
return renderer;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
|
Loading…
Reference in New Issue
Block a user