mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-04-24 16:40:17 +00:00
Force gl_sort_textures on
This commit is contained in:
parent
bb968ff68b
commit
3d89b7b07c
1 changed files with 4 additions and 0 deletions
|
@ -66,6 +66,8 @@ EXTERN_CVAR(Bool, cl_capfps)
|
|||
EXTERN_CVAR(Bool, gl_customshader)
|
||||
EXTERN_CVAR(Int, gl_pipeline_depth);
|
||||
|
||||
EXTERN_CVAR(Bool, gl_sort_textures);
|
||||
|
||||
void Draw2D(F2DDrawer *drawer, FRenderState &state);
|
||||
|
||||
extern bool vid_hdr_active;
|
||||
|
@ -125,6 +127,8 @@ void OpenGLFrameBuffer::InitializeState()
|
|||
|
||||
mPipelineNbr = gl_pipeline_depth;
|
||||
|
||||
gl_sort_textures = true; // Faster
|
||||
|
||||
InitGLES();
|
||||
|
||||
// Move some state to the framebuffer object for easier access.
|
||||
|
|
Loading…
Reference in a new issue