Update RingOpenGL 1.1 - Add Function (Source Code) : void glPointSize(GLfloat size)
@@ -6538,6 +6538,20 @@ RING_FUNC(ring_glPixelZoom)
glPixelZoom( (GLfloat ) RING_API_GETNUMBER(1), (GLfloat ) RING_API_GETNUMBER(2));
}
+
+RING_FUNC(ring_glPointSize)
+{
+ if ( RING_API_PARACOUNT != 1 ) {
+ RING_API_ERROR(RING_API_MISS1PARA);
+ return ;
+ }
+ if ( ! RING_API_ISNUMBER(1) ) {
+ RING_API_ERROR(RING_API_BADPARATYPE);
+ return ;
+ }
+ glPointSize( (GLfloat ) RING_API_GETNUMBER(1));
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("glaccum",ring_glAccum);
@@ -6739,6 +6753,7 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("glpixeltransferf",ring_glPixelTransferf);
ring_vm_funcregister("glpixeltransferi",ring_glPixelTransferi);
ring_vm_funcregister("glpixelzoom",ring_glPixelZoom);
+ ring_vm_funcregister("glpointsize",ring_glPointSize);
ring_vm_funcregister("get_gl_zero",ring_get_gl_zero);
ring_vm_funcregister("get_gl_false",ring_get_gl_false);
ring_vm_funcregister("get_gl_logic_op",ring_get_gl_logic_op);
