Commit 8cffad3f authored by David Redondo's avatar David Redondo 🏎
Browse files

Query height instead of texture format

Texture queries do not seem to work on nvidia and QtQuick windows
will then no be rendered.
parent 7335d542
......@@ -86,8 +86,8 @@ ClientBuffer *DrmClientBufferIntegration::createBuffer(::wl_resource *resource)
resolved = true;
EGLint format;
if (eglQueryWaylandBufferWL(eglDisplay, resource, EGL_TEXTURE_FORMAT, &format)) {
EGLint height;
if (eglQueryWaylandBufferWL(eglDisplay, resource, EGL_HEIGHT, &height)) {
return new DrmClientBuffer(resource, this);
return nullptr;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment