mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 09:43:45 +01:00
Fix Android build cast error
Remove gl command for texture 2d
This commit is contained in:
1 parent
bd1a9c2b1a
commit
71839414ca
2 files changed
+1
-6
No files matched your search
+1
-1
@@ -375,7 +375,7 @@ tm GetModifTime(const std::string &filename)
|
||||
{
|
||||
DEBUG_LOG(COMMON, "GetCreateTime: %s: %lld",
|
||||
filename.c_str(), (long long)buf.st_mtime);
|
||||
localtime_r(&buf.st_mtime,&return_time);
|
||||
localtime_r((time_t*)&buf.st_mtime,&return_time);
|
||||
return return_time;
|
||||
}
|
||||
|
||||
|
||||
@@ -215,14 +215,9 @@ void GLES_GPU::TransformAndDrawPrim(void *verts, void *inds, int prim, int verte
|
||||
{
|
||||
if ((gstate.textureMapEnable & 1) && !gstate.isModeClear())
|
||||
{
|
||||
glEnable(GL_TEXTURE_2D);
|
||||
PSPSetTexture();
|
||||
useTexCoord = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
glDisable(GL_TEXTURE_2D);
|
||||
}
|
||||
}
|
||||
gpuStats.numDrawCalls++;
|
||||
gpuStats.numVertsTransformed += vertexCount;
|
||||
|
||||
Reference in new issue
Block a user