Update rcore.c
This commit is contained in:
parent
907e9e1fe2
commit
4b1d4b4f6b
1 changed files with 2 additions and 2 deletions
|
@ -1934,7 +1934,7 @@ void EnableEventWaiting(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Disable waiting for events on EndDrawing(), automatic events polling
|
// Disable waiting for events on EndDrawing(), automatic events polling
|
||||||
RLAPI void DisableEventWaiting(void)
|
void DisableEventWaiting(void)
|
||||||
{
|
{
|
||||||
CORE.Window.eventWaiting = false;
|
CORE.Window.eventWaiting = false;
|
||||||
}
|
}
|
||||||
|
@ -2435,7 +2435,7 @@ Shader LoadShader(const char *vsFileName, const char *fsFileName)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load shader from code strings and bind default locations
|
// Load shader from code strings and bind default locations
|
||||||
RLAPI Shader LoadShaderFromMemory(const char *vsCode, const char *fsCode)
|
Shader LoadShaderFromMemory(const char *vsCode, const char *fsCode)
|
||||||
{
|
{
|
||||||
Shader shader = { 0 };
|
Shader shader = { 0 };
|
||||||
shader.locs = (int *)RL_CALLOC(RL_MAX_SHADER_LOCATIONS, sizeof(int));
|
shader.locs = (int *)RL_CALLOC(RL_MAX_SHADER_LOCATIONS, sizeof(int));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue