From 15f90a0699c730c8dfa483520d0ed5c150777ca7 Mon Sep 17 00:00:00 2001 From: Sergey Lipskiy Date: Sun, 5 Feb 2017 20:04:41 +0700 Subject: [PATCH] Use GL_RGBA instead of GL_RGBA8 for GLES2. --- src/Graphics/OpenGLContext/opengl_ContextImpl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Graphics/OpenGLContext/opengl_ContextImpl.cpp b/src/Graphics/OpenGLContext/opengl_ContextImpl.cpp index 125971b7..5b08726e 100644 --- a/src/Graphics/OpenGLContext/opengl_ContextImpl.cpp +++ b/src/Graphics/OpenGLContext/opengl_ContextImpl.cpp @@ -33,6 +33,7 @@ void ContextImpl::init() // Correct buffer target parameters, since GLES2 knows only GL_FRAMEBUFFER graphics::bufferTarget::DRAW_FRAMEBUFFER = graphics::bufferTarget::FRAMEBUFFER; graphics::bufferTarget::READ_FRAMEBUFFER = graphics::bufferTarget::FRAMEBUFFER; + graphics::internalcolorFormat::RGBA8 = graphics::InternalColorFormatParam(GL_RGBA); } if (!m_cachedFunctions)