diff options
author | Harald Fernengel <harald@trolltech.com> | 2009-08-10 15:02:32 (GMT) |
---|---|---|
committer | Harald Fernengel <harald@trolltech.com> | 2009-08-10 15:06:03 (GMT) |
commit | d918f98a4ab80405e0fe75fadf8491069a4c7ab8 (patch) | |
tree | 2e1cb01a21a1c6e010c1d3388b8ce8b6075189af /src/gui/text/qfontinfo.h | |
parent | cbd8a54f8c55e1982430fc929e9d74f977699428 (diff) | |
download | Qt-d918f98a4ab80405e0fe75fadf8491069a4c7ab8.zip Qt-d918f98a4ab80405e0fe75fadf8491069a4c7ab8.tar.gz Qt-d918f98a4ab80405e0fe75fadf8491069a4c7ab8.tar.bz2 |
Make chooseConfig work on some EGL implementations
According to the spec, if we pass a 0 out pointer,
EGL should tell us how many configurations are available.
However, we pass a 0 out pointer, but say that it's 256 elements big,
it confuses some implementations. Fix that by passing a 0 out pointer
and saying that it has space for 0 elements. Now we correctly get the
amount of available configs.
Reviewed-by: Rhys Weatherley <rhys.weatherley@nokia.com>
Diffstat (limited to 'src/gui/text/qfontinfo.h')
0 files changed, 0 insertions, 0 deletions