Browse Source

Disable native framebuffer support

Ivan Epifanov 4 years ago
parent
commit
e56c44512a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/video/vita/SDL_vitavideo.c

+ 3 - 0
src/video/vita/SDL_vitavideo.c

@@ -122,9 +122,12 @@ VITA_Create()
     device->DestroyWindow = VITA_DestroyWindow;
     device->DestroyWindow = VITA_DestroyWindow;
     device->GetWindowWMInfo = VITA_GetWindowWMInfo;
     device->GetWindowWMInfo = VITA_GetWindowWMInfo;
 
 
+/*
+    // Disabled, causes issues on high-framerate updates. SDL still emulates this.
     device->CreateWindowFramebuffer = VITA_CreateWindowFramebuffer;
     device->CreateWindowFramebuffer = VITA_CreateWindowFramebuffer;
     device->UpdateWindowFramebuffer = VITA_UpdateWindowFramebuffer;
     device->UpdateWindowFramebuffer = VITA_UpdateWindowFramebuffer;
     device->DestroyWindowFramebuffer = VITA_DestroyWindowFramebuffer;
     device->DestroyWindowFramebuffer = VITA_DestroyWindowFramebuffer;
+*/
 
 
 #if SDL_VIDEO_OPENGL_ES2
 #if SDL_VIDEO_OPENGL_ES2
     device->GL_LoadLibrary = VITA_GL_LoadLibrary;
     device->GL_LoadLibrary = VITA_GL_LoadLibrary;