Code cleanup

This commit is contained in:
Pierre Pronchery 2016-09-09 03:30:50 +02:00
parent e0c897d76f
commit 2a44c0039d

View File

@ -403,8 +403,8 @@ void gserver_refresh(GServer * gserver)
DEBUG_INTERFACE(); \ DEBUG_INTERFACE(); \
_gserver_queue0(gserver, asc, GSERVER_VIDEO_PROTO0_ ## func); \ _gserver_queue0(gserver, asc, GSERVER_VIDEO_PROTO0_ ## func); \
} }
#define GSERVER_PROTO1d(type, func) \ #define GSERVER_PROTO1d(type, func, type1) \
type GServer_ ## func(GServer * gserver, AppServerClient * asc, double x) \ type GServer_ ## func(GServer * gserver, AppServerClient * asc, type1 x) \
{ \ { \
DEBUG_INTERFACE(); \ DEBUG_INTERFACE(); \
_gserver_queue1d(gserver, asc, GSERVER_VIDEO_PROTO1d_ ## func, x); \ _gserver_queue1d(gserver, asc, GSERVER_VIDEO_PROTO1d_ ## func, x); \
@ -489,7 +489,7 @@ GSERVER_PROTO0(void, glLoadIdentity)
GSERVER_PROTO0(void, SwapBuffers) GSERVER_PROTO0(void, SwapBuffers)
/* proto1d */ /* proto1d */
GSERVER_PROTO1d(void, glClearDepth) GSERVER_PROTO1d(void, glClearDepth, double)
/* proto1i */ /* proto1i */
GSERVER_PROTO1i(void, glBegin, uint32_t) GSERVER_PROTO1i(void, glBegin, uint32_t)