Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5807

Graphics programming • Re: Unexpected difference between Wayland and X11

$
0
0
All I can offer is that I have code that uses this set of attributes and it works with Wayland.

Code:

const EGLint config_attribs[] = {EGL_SURFACE_TYPE, EGL_WINDOW_BIT,EGL_RED_SIZE, 8,EGL_GREEN_SIZE, 8,EGL_BLUE_SIZE, 8,EGL_ALPHA_SIZE, 8,EGL_DEPTH_SIZE, 16,EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,EGL_SAMPLES, 4,    // Enables Multi Sample Anti Aliasing :-)EGL_NONE,};
PeterO

Statistics: Posted by PeterO — Tue Jan 23, 2024 4:14 pm



Viewing all articles
Browse latest Browse all 5807

Trending Articles