XQuartz GLX: Don't let garbage enter our pixel request
https://bugs.freedesktop.org/show_bug.cgi?id=27654
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
(cherry picked from commit 5b0faf3554
)
This commit is contained in:
parent
0dd9d27eaa
commit
8616c5eb75
|
@ -548,7 +548,7 @@ static CGLPixelFormatObj makeFormat(__GLXconfig *conf) {
|
|||
attr[i++] = conf->samples;
|
||||
}
|
||||
|
||||
attr[i + 1] = 0;
|
||||
attr[i] = 0;
|
||||
|
||||
error = CGLChoosePixelFormat(attr, &fobj, &formats);
|
||||
if(error) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user