Add glColorMaterial()

This commit is contained in:
Pierre Pronchery 2016-09-09 02:25:57 +02:00
parent 687bc477f0
commit c5cf28b25e
3 changed files with 7 additions and 1 deletions

View File

@ -26,6 +26,10 @@ arg1=INT32
arg2=INT32
arg3=INT32
[call::glColorMaterial]
arg1=UINT32
arg2=UINT32
[call::glDepthFunc]
arg1=UINT32

View File

@ -77,7 +77,8 @@ typedef enum _GServerVideoProto1u
typedef enum _GServerVideoProto2u
{
GSERVER_VIDEO_PROTO2u_glHint = 0
GSERVER_VIDEO_PROTO2u_glColorMaterial = 0,
GSERVER_VIDEO_PROTO2u_glHint
} GServerVideoProto2u;
# define GSERVER_VIDEO_PROTO2u_LAST GSERVER_VIDEO_PROTO2u_glHint
# define GSERVER_VIDEO_PROTO2u_COUNT (GSERVER_VIDEO_PROTO1u_LAST + 1)

View File

@ -391,6 +391,7 @@ GSERVER_PROTO1u(void, glEnableClientState, uint32_t)
GSERVER_PROTO1u(bool, glIsEnabled, uint32_t)
/* proto2u */
GSERVER_PROTO2u(void, glColorMaterial, uint32_t, uint32_t)
GSERVER_PROTO2u(void, glHint, uint32_t, uint32_t)
/* proto3f */