Skip to content

Commit

Permalink
client: GL backend: disable ARB_FRAGMENT_PROGRAM by default
Browse files Browse the repository at this point in the history
Fixes rendering when switching from YUV to RGB-based encodings (the fragprog would stay active and would therefore attempt to carry out colorspace conversion on RGB).

git-svn-id: https://xpra.org/svn/Xpra/trunk@923 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
Arthur Huillet committed Jun 15, 2012
1 parent fc01e9c commit 5678f30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/xpra/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,7 @@ def do_configure_event(self, event):
glMatrixMode(GL_MODELVIEW)
glEnableClientState(GL_VERTEX_ARRAY);
glEnableClientState(GL_TEXTURE_COORD_ARRAY);
glDisable(GL_FRAGMENT_PROGRAM_ARB)

if self.textures[0] == 0:
self.textures = glGenTextures(3)
Expand Down

0 comments on commit 5678f30

Please sign in to comment.