Fix 'unused parameter' warnings on windows

This commit is contained in:
jp9000
2014-07-12 11:59:07 -07:00
parent f357973470
commit f675c8029f
4 changed files with 12 additions and 0 deletions

View File

@@ -369,6 +369,7 @@ static bool init_default_swap(struct gl_platform *plat, device_t device,
void gl_update(device_t device)
{
/* does nothing on windows */
UNUSED_PARAMETER(device);
}
struct gl_platform *gl_platform_create(device_t device,
@@ -487,6 +488,7 @@ void device_entercontext(device_t device)
void device_leavecontext(device_t device)
{
wglMakeCurrent(NULL, NULL);
UNUSED_PARAMETER(device);
}
void device_load_swapchain(device_t device, swapchain_t swap)