1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Use GL_RGBA instead of GL_RGBA8 for GLES2.

This commit is contained in:
Sergey Lipskiy 2017-02-05 20:04:41 +07:00
parent e232ae9e09
commit 15f90a0699

View File

@ -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)