diff options
author | Andy Nichols <andy.nichols@digia.com> | 2014-09-01 16:05:38 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2014-09-01 17:11:46 +0300 |
commit | f013631527b3cc569527e9541c11b0f12c420473 (patch) | |
tree | a23eeda842584806839348fb7c5050b3f7fe9ab3 /src/plugins | |
parent | b97e65a9767941c292b17e96d276c803571af9ab (diff) |
Provide a default SurfaceFormat for our Context
Since we are not using OpenGL the content of the SurfaceFormat does not
matter to us. Instead it gives us a way to expose the fact that we are
rendering to a raster surface. Using the OpenGLInfo API from QML allows
you to check the properties of the SurfaceFormat and see that the
QSurfaceFormat::RenderableType is not OpenGL or OpenGLES.
Change-Id: Iac087dd89115f3455b4fb1941385352cadd2a364
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/plugins')
0 files changed, 0 insertions, 0 deletions