mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
Mac buildfix
This commit is contained in:
1 parent
6a84d96a3c
commit
a98d2d5ecf
1 file changed
+1
-1
@@ -86,6 +86,7 @@ bool Thin3DFormatToGLFormatAndType(DataFormat fmt, GLuint &internalFormat, GLuin
|
||||
alignment = 16;
|
||||
break;
|
||||
|
||||
#if PPSSPP_PLATFORM(WINDOWS)
|
||||
case DataFormat::BC1_RGBA_UNORM_BLOCK:
|
||||
internalFormat = GL_COMPRESSED_RGB_S3TC_DXT1_EXT;
|
||||
format = GL_RGB;
|
||||
@@ -93,7 +94,6 @@ bool Thin3DFormatToGLFormatAndType(DataFormat fmt, GLuint &internalFormat, GLuin
|
||||
alignment = 8;
|
||||
break;
|
||||
|
||||
#if PPSSPP_PLATFORM(WINDOWS)
|
||||
case DataFormat::BC7_UNORM_BLOCK:
|
||||
internalFormat = GL_COMPRESSED_RGBA_BPTC_UNORM;
|
||||
format = GL_RGBA;
|
||||
|
||||
Reference in new issue
Block a user