Stencil reflection example.
This commit is contained in:
17
src/gl.c
17
src/gl.c
@@ -4,6 +4,23 @@
|
||||
#include "textures.h"
|
||||
#include "lgl.h"
|
||||
|
||||
/*
|
||||
## OpenGL - Rendering
|
||||
*/
|
||||
|
||||
/*
|
||||
> RL.glClear( int mask )
|
||||
|
||||
Clear buffers to preset values
|
||||
*/
|
||||
int lglClear( lua_State* L ) {
|
||||
unsigned int mask = luaL_checkinteger( L, 1 );
|
||||
|
||||
glClear( mask );
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
## OpenGL - Frame Buffers
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user