Rev 4358 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4358 | Rev 4401 | ||
---|---|---|---|
Line 181... | Line 181... | ||
181 | return GLX_BAD_SCREEN; |
181 | return GLX_BAD_SCREEN; |
182 | } |
182 | } |
Line 183... | Line 183... | ||
183 | 183 | ||
184 | /* Check to see if the GL is supported on this screen */ |
184 | /* Check to see if the GL is supported on this screen */ |
185 | *ppsc = (*ppriv)->screens[scrn]; |
185 | *ppsc = (*ppriv)->screens[scrn]; |
186 | if ((*ppsc)->configs == NULL) { |
186 | if ((*ppsc)->configs == NULL && (*ppsc)->visuals == NULL) { |
187 | /* No support for GL on this screen regardless of visual */ |
187 | /* No support for GL on this screen regardless of visual */ |
188 | return GLX_BAD_VISUAL; |
188 | return GLX_BAD_VISUAL; |
Line 189... | Line 189... | ||
189 | } |
189 | } |