From d602b8ed5a23fe7e286579dac05728e4c563adf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Higor=20Eur=C3=ADpedes?= Date: Tue, 8 Dec 2015 22:16:55 -0300 Subject: [PATCH] (d3d) Fix build --- gfx/d3d/d3d.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gfx/d3d/d3d.cpp b/gfx/d3d/d3d.cpp index 8808de73ad..895672458a 100644 --- a/gfx/d3d/d3d.cpp +++ b/gfx/d3d/d3d.cpp @@ -174,7 +174,7 @@ void d3d_make_d3dpp(void *data, unsigned width = 0; unsigned height = 0; - gfx_ctx_get_video_size(d3d, &width, &height); + gfx_ctx_get_video_size(&width, &height); video_driver_set_size(&width, &height); #endif video_driver_get_size(&d3dpp->BackBufferWidth, &d3dpp->BackBufferHeight); @@ -589,7 +589,7 @@ static bool d3d_construct(d3d_video_t *d3d, (int)(mon_rect.right - mon_rect.left), (int)(mon_rect.bottom - mon_rect.top)); #else - gfx_ctx_get_video_size(d3d, &full_x, &full_y); + gfx_ctx_get_video_size(&full_x, &full_y); #endif { unsigned new_width = info->fullscreen ? full_x : info->width; @@ -825,7 +825,7 @@ static void d3d_free(void *data) #endif #ifdef _XBOX - gfx_ctx_free(d3d); + gfx_ctx_free(); #else #ifdef HAVE_MENU