Stale GL_UNPACK state in gl4es and a missing pre-release GPU sync caused diagonal-banded corruption in the 3D view. Synthetic key press/release must track the real controller button or touch down/up edges, not fire together in one call - fixes a typed movement key sticking forever, then a follow-up that had silently broken A-button jump and on-screen keyboard arrow keys. Also adds force-rebuild.sh for the known stageEngine stale-cache issue.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
--- a/src/MacSrc/OpenGL.cc
|
||||
+++ b/src/MacSrc/OpenGL.cc
|
||||
@@ -566,7 +566,11 @@
|
||||
glDisableVertexAttribArray(0);
|
||||
glDisableVertexAttribArray(tcAttrib);
|
||||
glDisableVertexAttribArray(lightAttrib);
|
||||
- glFlush();
|
||||
+ // glFinish(), not glFlush(): xr_swapchain_release() (called by our
|
||||
+ // caller right after this returns) hands the image to the OpenXR
|
||||
+ // runtime for cross-process consumption, which requires the GPU write
|
||||
+ // to have actually landed, not just be queued.
|
||||
+ glFinish();
|
||||
|
||||
SDL_FreeSurface(uiRgba);
|
||||
}
|
||||
Reference in New Issue
Block a user