Skip to content

Commit

Permalink
#2467 finally able to use only core context
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Nov 11, 2023
1 parent eb1cbdf commit 1045635
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions xpra/client/gl/backing.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
glActiveTexture, glTexSubImage2D,
glViewport,
glGenTextures, glDisable,
glBindTexture, glPixelStorei, glEnable, glFlush,
glBindTexture, glPixelStorei, glFlush,
glBindBuffer, glGenBuffers, glBufferData, glDeleteBuffers,
glTexParameteri,
glTexImage2D,
Expand Down Expand Up @@ -794,7 +794,6 @@ def overlay_texture(self, texture: int, x: int, y: int, w: int, h: int) -> None:
# paint this texture
glActiveTexture(GL_TEXTURE0)
target = GL_TEXTURE_RECTANGLE
glEnable(target)
glBindTexture(target, texture)

wh = self.render_size[1]
Expand Down
2 changes: 1 addition & 1 deletion xpra/client/gl/gtk3/glarea_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def GLArea(alpha:bool) -> Gtk.GLArea:
glarea.set_has_alpha(alpha)
glarea.set_has_depth_buffer(False)
glarea.set_has_stencil_buffer(False)
glarea.set_required_version(3, 0)
glarea.set_required_version(3, 2)
return glarea


Expand Down

0 comments on commit 1045635

Please sign in to comment.