glamor: Fix bad fallthrough in getspans (accessing invalid memory).
This commit is contained in:
parent
0360ba361a
commit
d9eef95c74
|
@ -66,6 +66,7 @@ glamor_get_spans(DrawablePtr drawable,
|
|||
case 8:
|
||||
format = GL_ALPHA;
|
||||
type = GL_UNSIGNED_BYTE;
|
||||
break;
|
||||
case 24:
|
||||
format = GL_RGB;
|
||||
type = GL_UNSIGNED_BYTE;
|
||||
|
|
Loading…
Reference in New Issue
Block a user