mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
D3D8 buildfix
This commit is contained in:
parent
9e741019f3
commit
3a93377811
@ -29,8 +29,6 @@
|
|||||||
#include "../../configuration.h"
|
#include "../../configuration.h"
|
||||||
#include "../../verbosity.h"
|
#include "../../verbosity.h"
|
||||||
|
|
||||||
#include <d3d8.h>
|
|
||||||
|
|
||||||
#ifdef HAVE_D3DX
|
#ifdef HAVE_D3DX
|
||||||
#ifdef _XBOX
|
#ifdef _XBOX
|
||||||
#include <d3dx8core.h>
|
#include <d3dx8core.h>
|
||||||
|
@ -19,6 +19,8 @@
|
|||||||
#include <boolean.h>
|
#include <boolean.h>
|
||||||
#include <retro_common_api.h>
|
#include <retro_common_api.h>
|
||||||
|
|
||||||
|
#include <d3d8.h>
|
||||||
|
|
||||||
#include "../video_driver.h"
|
#include "../video_driver.h"
|
||||||
|
|
||||||
RETRO_BEGIN_DECLS
|
RETRO_BEGIN_DECLS
|
||||||
|
@ -172,7 +172,7 @@ static void menu_display_d3d8_draw(void *data, video_frame_info_t *video_info)
|
|||||||
#if 1
|
#if 1
|
||||||
if ((void*)draw->texture)
|
if ((void*)draw->texture)
|
||||||
{
|
{
|
||||||
D3D8SURFACE_DESC desc;
|
D3DSURFACE_DESC desc;
|
||||||
if (d3d8_texture_get_level_desc((void*)draw->texture, 0, &desc))
|
if (d3d8_texture_get_level_desc((void*)draw->texture, 0, &desc))
|
||||||
{
|
{
|
||||||
pv[i].u *= desc.Width;
|
pv[i].u *= desc.Width;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user