diff options
| author | jussi | 2023-08-04 22:21:40 +0300 |
|---|---|---|
| committer | jussi | 2023-08-04 22:21:40 +0300 |
| commit | 5438a70b0a5aac72c071c90650b509cf46e557cb (patch) | |
| tree | 6d6eb0823cb62e9029b4b75b68a3f4fe7a5f88ac /src/gl.c | |
| parent | 8ad725429292be22086d51df285907742be7a91a (diff) | |
| download | reilua-enhanced-5438a70b0a5aac72c071c90650b509cf46e557cb.tar.gz reilua-enhanced-5438a70b0a5aac72c071c90650b509cf46e557cb.tar.bz2 reilua-enhanced-5438a70b0a5aac72c071c90650b509cf46e557cb.zip | |
logLevelInvalid for bad function calls and invalid data formats.
Diffstat (limited to 'src/gl.c')
| -rw-r--r-- | src/gl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,7 +20,7 @@ Use -1 RenderTexture for window framebuffer. int lglBlitFramebuffer( lua_State *L ) { if ( !isValidRenderTexture( L, 1, true ) || !isValidRenderTexture( L, 2, true ) || !lua_istable( L, 3 ) || !lua_istable( L, 4 ) || !lua_isnumber( L, 5 ) || !lua_isnumber( L, 6 ) ) { - TraceLog( LOG_WARNING, "%s", "Bad call of function. RL.glBlitFramebuffer( RenderTexture srcTex, RenderTexture dstTex, Rectangle srcRect, Rectangle dstRect, int mask, int filter )" ); + TraceLog( state->logLevelInvalid, "%s", "Bad call of function. RL.glBlitFramebuffer( RenderTexture srcTex, RenderTexture dstTex, Rectangle srcRect, Rectangle dstRect, int mask, int filter )" ); lua_pushboolean( L, false ); return 1; } |
