equal
deleted
inserted
replaced
329 |
329 |
330 // Query the value of a configuration attribute. |
330 // Query the value of a configuration attribute. |
331 bool QEglContext::configAttrib(int name, EGLint *value) const |
331 bool QEglContext::configAttrib(int name, EGLint *value) const |
332 { |
332 { |
333 return eglGetConfigAttrib(display(), cfg, name, value); |
333 return eglGetConfigAttrib(display(), cfg, name, value); |
|
334 } |
|
335 |
|
336 void QEglContext::clearError() |
|
337 { |
|
338 eglGetError(); |
|
339 } |
|
340 |
|
341 EGLint QEglContext::error() |
|
342 { |
|
343 return eglGetError(); |
334 } |
344 } |
335 |
345 |
336 // Retrieve all of the properties on "cfg". If zero, return |
346 // Retrieve all of the properties on "cfg". If zero, return |
337 // the context's configuration. |
347 // the context's configuration. |
338 QEglProperties QEglContext::configProperties(EGLConfig cfg) const |
348 QEglProperties QEglContext::configProperties(EGLConfig cfg) const |