mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-27 17:29:17 -05:00
Update rcore.c
This commit is contained in:
@ -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));
|
||||||
|
|||||||
Reference in New Issue
Block a user