(360) Some buildfixes

This commit is contained in:
twinaphex 2018-01-25 12:35:46 +01:00
parent 6ee8f681da
commit 282853873b
3 changed files with 6 additions and 5 deletions

View File

@ -438,10 +438,10 @@ static void hlsl_d3d9_renderchain_viewport_info(
video_driver_get_size(&width, &height);
vp->x = d3d->final_viewport.X;
vp->y = d3d->final_viewport.Y;
vp->width = d3d->final_viewport.Width;
vp->height = d3d->final_viewport.Height;
vp->x = d3d->final_viewport.x;
vp->y = d3d->final_viewport.y;
vp->width = d3d->final_viewport.width;
vp->height = d3d->final_viewport.height;
vp->full_width = width;
vp->full_height = height;

View File

@ -22,6 +22,7 @@
#include <d3dx9shader.h>
#include "../../defines/d3d_defines.h"
#include "../common/d3d_common.h"
#ifdef HAVE_CONFIG_H
#include "../../config.h"

View File

@ -411,7 +411,7 @@ static void xui_frame(void *data, video_frame_info_t *video_info)
XUIMessageRender msgRender;
D3DXMATRIX matOrigView;
const char *message = NULL;
D3DVIEWPORT vp_full = {0};
D3DVIEWPORT9 vp_full = {0};
d3d_video_t *d3d = (d3d_video_t*)video_driver_get_ptr(false);
if (!d3d)