D3D8 buildfix

This commit is contained in:
twinaphex 2018-04-22 14:55:15 +02:00
parent 9e741019f3
commit 3a93377811
3 changed files with 3 additions and 3 deletions

View File

@ -29,8 +29,6 @@
#include "../../configuration.h"
#include "../../verbosity.h"
#include <d3d8.h>
#ifdef HAVE_D3DX
#ifdef _XBOX
#include <d3dx8core.h>

View File

@ -19,6 +19,8 @@
#include <boolean.h>
#include <retro_common_api.h>
#include <d3d8.h>
#include "../video_driver.h"
RETRO_BEGIN_DECLS

View File

@ -172,7 +172,7 @@ static void menu_display_d3d8_draw(void *data, video_frame_info_t *video_info)
#if 1
if ((void*)draw->texture)
{
D3D8SURFACE_DESC desc;
D3DSURFACE_DESC desc;
if (d3d8_texture_get_level_desc((void*)draw->texture, 0, &desc))
{
pv[i].u *= desc.Width;