mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-26 17:50:56 +00:00
(Libxenon) fix (still crashes during init)
This commit is contained in:
parent
7c28a62b40
commit
f431f77834
@ -87,6 +87,7 @@ typedef struct gl
|
||||
unsigned char *screen;
|
||||
struct XenosVertexBuffer *vb;
|
||||
struct XenosDevice * gl_device;
|
||||
struct XenosDevice real_device;
|
||||
struct XenosShader * g_pVertexShader;
|
||||
struct XenosShader * g_pPixelTexturedShader;
|
||||
struct XenosSurface * g_pTexture;
|
||||
@ -110,6 +111,8 @@ static void *xenon360_gfx_init(const video_info_t *video, const input_driver_t *
|
||||
if (!gl)
|
||||
return NULL;
|
||||
|
||||
gl->gl_device = &gl->real_device;
|
||||
|
||||
Xe_Init(gl->gl_device);
|
||||
|
||||
Xe_SetRenderTarget(gl->gl_device, Xe_GetFramebufferSurface(gl->gl_device));
|
||||
|
Loading…
Reference in New Issue
Block a user