mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-28 22:07:38 +00:00
Prevention measures for OpenGL ES 2.0
This commit is contained in:
parent
77893921d8
commit
d6eae83772
@ -718,6 +718,7 @@ void OpenGLES2Renderer::Flip()
|
||||
|
||||
void OpenGLES2Renderer::Draw2DImage(Uint32 textureId, const SDL_Rect& srcRect, const SDL_Rect& dstRect, FColor color)
|
||||
{
|
||||
SDL_GL_MakeCurrent(DDWindow, m_context);
|
||||
m_dirty = true;
|
||||
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, m_fbo);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user