Reviewed some comments
This commit is contained in:
parent
d7e7ef6a7d
commit
aa982f80f5
2 changed files with 2 additions and 2 deletions
|
@ -2077,7 +2077,7 @@ Shader LoadShader(char *vsFileName, char *fsFileName)
|
||||||
return shader;
|
return shader;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load a custom shader and return program id
|
// Load custom shader strings and return program id
|
||||||
unsigned int LoadShaderProgram(char *vShaderStr, char *fShaderStr)
|
unsigned int LoadShaderProgram(char *vShaderStr, char *fShaderStr)
|
||||||
{
|
{
|
||||||
unsigned int program = 0;
|
unsigned int program = 0;
|
||||||
|
|
|
@ -270,7 +270,7 @@ void PrintModelviewMatrix(void); // DEBUG: Print modelview matrix
|
||||||
// NOTE: This functions are useless when using OpenGL 1.1
|
// NOTE: This functions are useless when using OpenGL 1.1
|
||||||
//------------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------------
|
||||||
Shader LoadShader(char *vsFileName, char *fsFileName); // Load a custom shader and bind default locations
|
Shader LoadShader(char *vsFileName, char *fsFileName); // Load a custom shader and bind default locations
|
||||||
unsigned int LoadShaderProgram(char *vShaderStr, char *fShaderStr); // Load a custom shader and return program id
|
unsigned int LoadShaderProgram(char *vShaderStr, char *fShaderStr); // Load custom shader strings and return program id
|
||||||
void UnloadShader(Shader shader); // Unload a custom shader from memory
|
void UnloadShader(Shader shader); // Unload a custom shader from memory
|
||||||
void SetPostproShader(Shader shader); // Set fullscreen postproduction shader
|
void SetPostproShader(Shader shader); // Set fullscreen postproduction shader
|
||||||
void SetCustomShader(Shader shader); // Set custom shader to be used in batch draw
|
void SetCustomShader(Shader shader); // Set custom shader to be used in batch draw
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue