diff options
Diffstat (limited to 'src/shapes.c')
| -rw-r--r-- | src/shapes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shapes.c b/src/shapes.c index ef857ea..3a06bac 100644 --- a/src/shapes.c +++ b/src/shapes.c @@ -26,7 +26,7 @@ int lshapesSetShapesTexture( lua_State *L ) { size_t texId = lua_tointeger( L, 1 ); Rectangle source = uluaGetRectangleIndex( L, 2 ); - if ( !validSourceTexture( texId ) ) { + if ( !validTexture( texId, TEXTURE_TYPE_ALL ) ) { lua_pushboolean( L, false ); return 1; } |
