Update RingRayLib - raylib.c - Add Function : void EndBlendMode(void)
@@ -6157,6 +6157,16 @@ RING_FUNC(ring_BeginBlendMode)
BeginBlendMode( (int ) RING_API_GETNUMBER(1));
}
+
+RING_FUNC(ring_EndBlendMode)
+{
+ if ( RING_API_PARACOUNT != 0 ) {
+ RING_API_ERROR(RING_API_BADPARACOUNT);
+ return ;
+ }
+ EndBlendMode();
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("initwindow",ring_InitWindow);
@@ -6500,4 +6510,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("beginshadermode",ring_BeginShaderMode);
ring_vm_funcregister("endshadermode",ring_EndShaderMode);
ring_vm_funcregister("beginblendmode",ring_BeginBlendMode);
+ ring_vm_funcregister("endblendmode",ring_EndBlendMode);
}
