mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 02:30:35 +00:00
(XDK) Build fixes
This commit is contained in:
parent
a2d0a0d5d2
commit
9caadf5a55
@ -36,13 +36,13 @@ HRESULT d3d_create_vertex_buffer(LPDIRECT3DDEVICE dev,
|
||||
D3DPOOL pool, LPDIRECT3DVERTEXBUFFER vert_buf, void *handle)
|
||||
{
|
||||
#if defined(_XBOX1)
|
||||
IDirect3DDevice8_CreateVertexBuffer(dev, length, usage, fvf, pool,
|
||||
return IDirect3DDevice8_CreateVertexBuffer(dev, length, usage, fvf, pool,
|
||||
&vert_buf);
|
||||
#elif defined(_XBOX360)
|
||||
IDirect3DDevice9_CreateVertexBuffer(dev, length, usage, fvf, pool,
|
||||
return IDirect3DDevice9_CreateVertexBuffer(dev, length, usage, fvf, pool,
|
||||
&vert_buf, NULL);
|
||||
#else
|
||||
dev->CreateVertexBuffer(length, usage, fvf, pool, &vert_buf, NULL);
|
||||
return dev->CreateVertexBuffer(length, usage, fvf, pool, &vert_buf, NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -282,6 +282,8 @@ static void renderchain_blit_to_texture(void *data, const void *frame,
|
||||
D3DLOCKED_RECT d3dlr;
|
||||
d3d_video_t *d3d = (d3d_video_t*)data;
|
||||
|
||||
(void)desc;
|
||||
|
||||
if (d3d->last_width != width || d3d->last_height != height)
|
||||
{
|
||||
D3DTexture_LockRectClear(d3d, d3d->tex, 0, d3dlr, NULL, D3DLOCK_NOSYSLOCK);
|
||||
|
@ -588,10 +588,9 @@ SCREENSHOTS
|
||||
============================================================ */
|
||||
#if defined(_XBOX1)
|
||||
#include "../xdk/screenshot_xdk1.c"
|
||||
#endif
|
||||
|
||||
#else
|
||||
#include "../screenshot.c"
|
||||
|
||||
#endif
|
||||
|
||||
/*============================================================
|
||||
PLAYLISTS
|
||||
|
Loading…
Reference in New Issue
Block a user