Skip to content

Commit

Permalink
as per the opengl spec the only format supported for BGR/RGB 565 is RGB
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@16329 3bb7dfac-3a0b-4e04-842a-767bc560f471
totaam committed Jul 13, 2017

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 8be089c commit 8bbb389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/client/gl/gl_window_backing_base.py
Original file line number Diff line number Diff line change
@@ -89,7 +89,7 @@
"BGRX" : GL_BGRA,
"RGBA" : GL_RGBA,
"RGBX" : GL_RGBA,
"BGR565": GL_BGR,
"BGR565": GL_RGB,
"RGB565": GL_RGB,
}
PIXEL_FORMAT_TO_DATATYPE = {

0 comments on commit 8bbb389

Please sign in to comment.