Skip to content

Commit

Permalink
remove EGL_BUFFER_SIZE and EGL_ALPHA_SIZE to prevent issues with nvidia
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-rauch committed Jan 5, 2024
1 parent f30a1b8 commit 489a0fe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions components/pango_windowing/src/display_x11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,9 @@ X11GlContext::X11GlContext(std::shared_ptr<X11Display>& xdisplay) : display(xdis

const EGLint egl_config_attribs[] = {
EGL_COLOR_BUFFER_TYPE, EGL_RGB_BUFFER,
EGL_BUFFER_SIZE, 32,
EGL_RED_SIZE, 8,
EGL_GREEN_SIZE, 8,
EGL_BLUE_SIZE, 8,
EGL_ALPHA_SIZE, 8,

EGL_DEPTH_SIZE, 24,
EGL_STENCIL_SIZE, 8,
Expand Down

0 comments on commit 489a0fe

Please sign in to comment.