Add glScissor()
This commit is contained in:
parent
601dbf5dc6
commit
c8f3314a28
|
@ -176,6 +176,12 @@ arg2=FLOAT
|
||||||
arg3=FLOAT
|
arg3=FLOAT
|
||||||
arg4=FLOAT
|
arg4=FLOAT
|
||||||
|
|
||||||
|
[call::glScissor]
|
||||||
|
arg1=INT32
|
||||||
|
arg2=INT32
|
||||||
|
arg3=INT32
|
||||||
|
arg4=INT32
|
||||||
|
|
||||||
[call::glShadeModel]
|
[call::glShadeModel]
|
||||||
arg1=UINT32
|
arg1=UINT32
|
||||||
|
|
||||||
|
|
|
@ -170,9 +170,10 @@ typedef enum _GServerVideoCall4f
|
||||||
typedef enum _GServerVideoCall4i
|
typedef enum _GServerVideoCall4i
|
||||||
{
|
{
|
||||||
GSERVER_VIDEO_CALL4i_glColor4i = 0,
|
GSERVER_VIDEO_CALL4i_glColor4i = 0,
|
||||||
GSERVER_VIDEO_CALL4i_glColor4ui
|
GSERVER_VIDEO_CALL4i_glColor4ui,
|
||||||
|
GSERVER_VIDEO_CALL4i_glScissor
|
||||||
} GServerVideoCall4i;
|
} GServerVideoCall4i;
|
||||||
# define GSERVER_VIDEO_CALL4i_LAST GSERVER_VIDEO_CALL4i_glColor4ui
|
# define GSERVER_VIDEO_CALL4i_LAST GSERVER_VIDEO_CALL4i_glScissor
|
||||||
# define GSERVER_VIDEO_CALL4i_COUNT (GSERVER_VIDEO_CALL4i_LAST + 1)
|
# define GSERVER_VIDEO_CALL4i_COUNT (GSERVER_VIDEO_CALL4i_LAST + 1)
|
||||||
|
|
||||||
typedef enum _GServerVideoCall4s
|
typedef enum _GServerVideoCall4s
|
||||||
|
|
|
@ -568,6 +568,7 @@ GSERVER_PROTO4f(void, glRotatef)
|
||||||
/* proto4i */
|
/* proto4i */
|
||||||
GSERVER_PROTO4i(void, glColor4i, int32_t, int32_t, int32_t, int32_t)
|
GSERVER_PROTO4i(void, glColor4i, int32_t, int32_t, int32_t, int32_t)
|
||||||
GSERVER_PROTO4i(void, glColor4ui, uint32_t, uint32_t, uint32_t, uint32_t)
|
GSERVER_PROTO4i(void, glColor4ui, uint32_t, uint32_t, uint32_t, uint32_t)
|
||||||
|
GSERVER_PROTO4i(void, glScissor, int32_t, int32_t, int32_t, int32_t)
|
||||||
|
|
||||||
/* proto4s */
|
/* proto4s */
|
||||||
GSERVER_PROTO4s(void, glColor4s, int16_t, int16_t, int16_t, int16_t)
|
GSERVER_PROTO4s(void, glColor4s, int16_t, int16_t, int16_t, int16_t)
|
||||||
|
|
|
@ -181,7 +181,8 @@ static void (*_glut_func4i[GSERVER_VIDEO_CALL4i_COUNT])(uint32_t, uint32_t,
|
||||||
uint32_t, uint32_t) =
|
uint32_t, uint32_t) =
|
||||||
{
|
{
|
||||||
glColor4i,
|
glColor4i,
|
||||||
glColor4ui
|
glColor4ui,
|
||||||
|
glScissor
|
||||||
};
|
};
|
||||||
|
|
||||||
static void (*_glut_func4s[GSERVER_VIDEO_CALL4s_COUNT])(uint16_t, uint16_t,
|
static void (*_glut_func4s[GSERVER_VIDEO_CALL4s_COUNT])(uint16_t, uint16_t,
|
||||||
|
|
|
@ -185,7 +185,8 @@ static void (*_glx_func4i[GSERVER_VIDEO_CALL4i_COUNT])(uint32_t, uint32_t,
|
||||||
uint32_t, uint32_t) =
|
uint32_t, uint32_t) =
|
||||||
{
|
{
|
||||||
glColor4i,
|
glColor4i,
|
||||||
glColor4ui
|
glColor4ui,
|
||||||
|
glScissor
|
||||||
};
|
};
|
||||||
|
|
||||||
static void (*_glx_func4s[GSERVER_VIDEO_CALL4s_COUNT])(uint16_t, uint16_t,
|
static void (*_glx_func4s[GSERVER_VIDEO_CALL4s_COUNT])(uint16_t, uint16_t,
|
||||||
|
|
|
@ -180,7 +180,8 @@ static void (*_sdl_func4i[GSERVER_VIDEO_CALL4i_COUNT])(uint32_t, uint32_t,
|
||||||
uint32_t, uint32_t) =
|
uint32_t, uint32_t) =
|
||||||
{
|
{
|
||||||
glColor4i,
|
glColor4i,
|
||||||
glColor4ui
|
glColor4ui,
|
||||||
|
glScissor
|
||||||
};
|
};
|
||||||
|
|
||||||
static void (*_sdl_func4s[GSERVER_VIDEO_CALL4s_COUNT])(uint16_t, uint16_t,
|
static void (*_sdl_func4s[GSERVER_VIDEO_CALL4s_COUNT])(uint16_t, uint16_t,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user