Commit 117f7a03 authored by Rinnegatamante's avatar Rinnegatamante
Browse files

Make it properly work with latest vitaGL.

parent 0043356d
...@@ -124,7 +124,7 @@ void GLimp_Init( qboolean coreContext) ...@@ -124,7 +124,7 @@ void GLimp_Init( qboolean coreContext)
vglInitExtended(0x100000, glConfig.vidWidth, glConfig.vidHeight, 0x1800000, SCE_GXM_MULTISAMPLE_4X); vglInitExtended(0x100000, glConfig.vidWidth, glConfig.vidHeight, 0x1800000, SCE_GXM_MULTISAMPLE_4X);
#endif #endif
vglUseVram(GL_TRUE); vglUseVram(GL_TRUE);
vglMapHeapMem();
inited = 1; inited = 1;
cur_width = glConfig.vidWidth; cur_width = glConfig.vidWidth;
}else if (glConfig.vidWidth != cur_width){ // Changed resolution in game, restarting the game }else if (glConfig.vidWidth != cur_width){ // Changed resolution in game, restarting the game
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment