mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00:00
ui/console: remove redundant format field
It's already part of PIXMAN image. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
@ -53,7 +53,7 @@ void surface_gl_create_texture(QemuGLShader *gls,
|
||||
return;
|
||||
}
|
||||
|
||||
switch (surface->format) {
|
||||
switch (surface_format(surface)) {
|
||||
case PIXMAN_BE_b8g8r8x8:
|
||||
case PIXMAN_BE_b8g8r8a8:
|
||||
surface->glformat = GL_BGRA_EXT;
|
||||
|
Reference in New Issue
Block a user