Minor cleanup.
This commit is contained in:
@@ -1365,12 +1365,11 @@ openGLFW(EngineOpenParams *openparams)
|
|||||||
gConstIndices[i] = i;
|
gConstIndices[i] = i;
|
||||||
}
|
}
|
||||||
#ifdef PSP2_USE_SHADER_COMPILER
|
#ifdef PSP2_USE_SHADER_COMPILER
|
||||||
vglInitExtended(0x10000, 960, 544, 0x100000, SCE_GXM_MULTISAMPLE_4X);
|
|
||||||
vglSetupRuntimeShaderCompiler(SHARK_OPT_UNSAFE, SHARK_ENABLE, SHARK_ENABLE, SHARK_ENABLE);
|
vglSetupRuntimeShaderCompiler(SHARK_OPT_UNSAFE, SHARK_ENABLE, SHARK_ENABLE, SHARK_ENABLE);
|
||||||
#else
|
#else
|
||||||
vglEnableRuntimeShaderCompiler(GL_FALSE);
|
vglEnableRuntimeShaderCompiler(GL_FALSE);
|
||||||
vglInitExtended(0x10000, 960, 544, 0x100000, SCE_GXM_MULTISAMPLE_4X);
|
|
||||||
#endif
|
#endif
|
||||||
|
vglInitExtended(0x10000, 960, 544, 0x100000, SCE_GXM_MULTISAMPLE_4X);
|
||||||
vglUseVram(GL_TRUE);
|
vglUseVram(GL_TRUE);
|
||||||
|
|
||||||
makeVideoModeList();
|
makeVideoModeList();
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
#ifdef PSP2
|
#ifdef PSP2
|
||||||
#include <vitasdk.h>
|
#include <vitasdk.h>
|
||||||
#include <vitaGL.h>
|
#include <vitaGL.h>
|
||||||
|
#ifndef PSP2_USE_SHADER_COMPILER
|
||||||
#include "shaders/default_v.h"
|
#include "shaders/default_v.h"
|
||||||
#include "shaders/im3d_v.h"
|
#include "shaders/im3d_v.h"
|
||||||
#include "shaders/im2d_v.h"
|
#include "shaders/im2d_v.h"
|
||||||
@@ -14,6 +15,7 @@
|
|||||||
#include "shaders/matfx_env_v.h"
|
#include "shaders/matfx_env_v.h"
|
||||||
#include "shaders/matfx_env_f.h"
|
#include "shaders/matfx_env_f.h"
|
||||||
#include "shaders/simple_f.h"
|
#include "shaders/simple_f.h"
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#ifndef LIBRW_GLAD
|
#ifndef LIBRW_GLAD
|
||||||
#include <GL/glew.h>
|
#include <GL/glew.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user