mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-07 19:58:32 +09:00
[Fix] (gl.h|doc.cpp): Fix the wrong operations that make all "Depth" into "Common".
This commit is contained in:
+2
-2
@@ -255,7 +255,7 @@ typedef double GLclampd; /* double precision float in [0,1] */
|
||||
#define GL_LIST_INDEX 0x0B33
|
||||
#define GL_LIST_MODE 0x0B30
|
||||
|
||||
/* Common buffer */
|
||||
/* Depth buffer */
|
||||
#define GL_NEVER 0x0200
|
||||
#define GL_LESS 0x0201
|
||||
#define GL_EQUAL 0x0202
|
||||
@@ -833,7 +833,7 @@ GLAPI void GLAPIENTRY glHint( GLenum target, GLenum mode );
|
||||
|
||||
|
||||
/*
|
||||
* Common Buffer
|
||||
* Depth buffer
|
||||
*/
|
||||
|
||||
GLAPI void GLAPIENTRY glClearDepth( GLclampd depth );
|
||||
|
||||
@@ -591,7 +591,7 @@ const char* ImageChannelOrderString(int format)
|
||||
case 10: return "Rx";
|
||||
case 11: return "RGx";
|
||||
case 12: return "RGBx";
|
||||
case 13: return "Common";
|
||||
case 13: return "Depth";
|
||||
case 14: return "DepthStencil";
|
||||
case 15: return "sRGB";
|
||||
case 16: return "sRGBx";
|
||||
@@ -1885,7 +1885,7 @@ void Parameterize()
|
||||
|
||||
InstructionDesc[OpTypeImage].operands.push(OperandId, "'Sampled Type'");
|
||||
InstructionDesc[OpTypeImage].operands.push(OperandDimensionality, "");
|
||||
InstructionDesc[OpTypeImage].operands.push(OperandLiteralNumber, "'Common'");
|
||||
InstructionDesc[OpTypeImage].operands.push(OperandLiteralNumber, "'Depth'");
|
||||
InstructionDesc[OpTypeImage].operands.push(OperandLiteralNumber, "'Arrayed'");
|
||||
InstructionDesc[OpTypeImage].operands.push(OperandLiteralNumber, "'MS'");
|
||||
InstructionDesc[OpTypeImage].operands.push(OperandLiteralNumber, "'Sampled'");
|
||||
|
||||
Reference in New Issue
Block a user