fill in the rest of the GL functions. finally
This commit is contained in:
@@ -100,8 +100,8 @@ struct gs_exports {
|
||||
void (*device_enable_depthtest)(device_t device, bool enable);
|
||||
void (*device_enable_stenciltest)(device_t device, bool enable);
|
||||
void (*device_enable_stencilwrite)(device_t device, bool enable);
|
||||
void (*device_enable_color)(device_t device, bool red, bool blue,
|
||||
bool green, bool alpha);
|
||||
void (*device_enable_color)(device_t device, bool red, bool green,
|
||||
bool blue, bool alpha);
|
||||
void (*device_blendfunction)(device_t device, enum gs_blend_type src,
|
||||
enum gs_blend_type dest);
|
||||
void (*device_depthfunction)(device_t device, enum gs_depth_test test);
|
||||
|
@@ -1035,11 +1035,11 @@ void gs_enable_stencilwrite(bool enable)
|
||||
graphics->exports.device_enable_stencilwrite(graphics->device, enable);
|
||||
}
|
||||
|
||||
void gs_enable_color(bool red, bool blue, bool green, bool alpha)
|
||||
void gs_enable_color(bool red, bool green, bool blue, bool alpha)
|
||||
{
|
||||
graphics_t graphics = thread_graphics;
|
||||
graphics->exports.device_enable_color(graphics->device, red, blue,
|
||||
green, alpha);
|
||||
graphics->exports.device_enable_color(graphics->device, red, green,
|
||||
blue, alpha);
|
||||
}
|
||||
|
||||
void gs_blendfunction(enum gs_blend_type src, enum gs_blend_type dest)
|
||||
|
@@ -586,7 +586,7 @@ EXPORT void gs_enable_blending(bool enable);
|
||||
EXPORT void gs_enable_depthtest(bool enable);
|
||||
EXPORT void gs_enable_stenciltest(bool enable);
|
||||
EXPORT void gs_enable_stencilwrite(bool enable);
|
||||
EXPORT void gs_enable_color(bool red, bool blue, bool green, bool alpha);
|
||||
EXPORT void gs_enable_color(bool red, bool green, bool blue, bool alpha);
|
||||
|
||||
EXPORT void gs_blendfunction(enum gs_blend_type src, enum gs_blend_type dest);
|
||||
EXPORT void gs_depthfunction(enum gs_depth_test test);
|
||||
|
Reference in New Issue
Block a user