diff options
| author | jussi | 2023-06-01 23:56:14 +0300 |
|---|---|---|
| committer | jussi | 2023-06-01 23:56:14 +0300 |
| commit | 560ff1a208e93a3636615380743ce76bd8811c94 (patch) | |
| tree | 01024beb57f5dff7fbc5034e8e8349964cd197ac /src/gl.c | |
| parent | 8008ebf1b041e837eecf54c3904156309508a2a8 (diff) | |
| download | reilua-enhanced-560ff1a208e93a3636615380743ce76bd8811c94.tar.gz reilua-enhanced-560ff1a208e93a3636615380743ce76bd8811c94.tar.bz2 reilua-enhanced-560ff1a208e93a3636615380743ce76bd8811c94.zip | |
Camera2D and Camera3D can be given as tables.
Diffstat (limited to 'src/gl.c')
| -rw-r--r-- | src/gl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ Use -1 RenderTexture for window framebuffer. - Success return true */ int lglBlitFramebuffer( lua_State *L ) { - if ( !isValidRenderTexture( L, 1) || !isValidRenderTexture( L, 2 ) || !lua_istable( L, 3 ) + 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 )" ); lua_pushboolean( L, false ); |
