diff options
author | David 'Digit' Turner <digit@google.com> | 2014-03-27 17:21:13 +0100 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2014-04-01 10:22:22 +0200 |
commit | d06559227bc6071c96572334d2a2e3f6eb4de96d (patch) | |
tree | 99407a4f71fa2ad3c05e37562a883ec08c3ad371 /emulator/opengl/shared/OpenglCodecCommon | |
parent | f652f506734ff36069f5100766d557cd9b82d29e (diff) | |
download | sdk-d06559227bc6071c96572334d2a2e3f6eb4de96d.zip sdk-d06559227bc6071c96572334d2a2e3f6eb4de96d.tar.gz sdk-d06559227bc6071c96572334d2a2e3f6eb4de96d.tar.bz2 |
emulator/opengl: Fix Windows EGL queryConfigs().
The function uses DescribePixelFormat() which doesn't return a
count, but a maximum index, in a base-1 list of possible formats,
so adjust the code accordingly.
See http://msdn.microsoft.com/en-us/library/windows/desktop/dd318302(v=vs.85).aspx
Change-Id: Id0cc92249348e6c845570adaaf4c280721a194bb
Diffstat (limited to 'emulator/opengl/shared/OpenglCodecCommon')
0 files changed, 0 insertions, 0 deletions