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:
parent
e232ae9e09
commit
15f90a0699
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user