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

Fix GL error due to incorrect monochrome internal format.

This was cauding a GL error in DepthBufferToRDRAM::init()
This commit is contained in:
Francisco Zurita 2016-08-09 01:43:39 -04:00 committed by Sergey Lipskiy
parent 8f615b9aaf
commit 320c524a2a

View File

@ -38,7 +38,7 @@ void FBOTextureFormats::init()
colorType = GL_UNSIGNED_BYTE;
colorFormatBytes = 4;
monochromeInternalFormat = GL_RED;
monochromeInternalFormat = GL_R8;
monochromeFormat = GL_RED;
monochromeType = GL_UNSIGNED_BYTE;
monochromeFormatBytes = 1;