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:
parent
8f615b9aaf
commit
320c524a2a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user