mirror of
https://github.com/libretro/RetroArch
synced 2025-02-27 18:41:01 +00:00
Fix Xenon build.
This commit is contained in:
parent
e55dbe944d
commit
1953ea7312
@ -39,6 +39,8 @@
|
||||
|
||||
#ifdef XENON
|
||||
#include <time/time.h>
|
||||
#undef PATH_MAX
|
||||
#define PATH_MAX 4096
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
|
@ -200,11 +200,6 @@ static bool xenon360_gfx_frame(void *data, const void *frame, unsigned width, un
|
||||
|
||||
vid->frame_count++;
|
||||
|
||||
|
||||
// update texture viewport
|
||||
static unsigned old_width = 0;
|
||||
static unsigned old_height = 0;
|
||||
|
||||
ScreenUv[UV_TOP] = ((float) (width) / (float) XE_W)*2;
|
||||
ScreenUv[UV_LEFT] = ((float) (height) / (float) XE_H)*2;
|
||||
|
||||
@ -216,9 +211,6 @@ static bool xenon360_gfx_frame(void *data, const void *frame, unsigned width, un
|
||||
|
||||
Xe_VB_Unlock(vid->gl_device, vid->vb);
|
||||
|
||||
old_width = width;
|
||||
old_height = height;
|
||||
|
||||
// Refresh texture cache
|
||||
uint16_t *dst = Xe_Surface_LockRect(vid->gl_device, vid->g_pTexture, 0, 0, 0, 0, XE_LOCK_WRITE);
|
||||
const uint16_t *src = frame;
|
||||
|
Loading…
x
Reference in New Issue
Block a user