Organized core functions.
This commit is contained in:
@@ -1258,30 +1258,6 @@ int ltexturesDrawTextureNPatch( lua_State *L ) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
> RL.BeginTextureMode( RenderTexture target )
|
||||
|
||||
Begin drawing to render texture
|
||||
*/
|
||||
int ltexturesBeginTextureMode( lua_State *L ) {
|
||||
RenderTexture *renderTexture = uluaGetRenderTexture( L, 1 );
|
||||
|
||||
BeginTextureMode( *renderTexture );
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
> RL.EndTextureMode()
|
||||
|
||||
Ends drawing to render texture
|
||||
*/
|
||||
int ltexturesEndTextureMode( lua_State *L ) {
|
||||
EndTextureMode();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
## Textures - Texture Configuration
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user