commit | d06559227bc6071c96572334d2a2e3f6eb4de96d | [log] [tgz] |
---|---|---|
author | David 'Digit' Turner <digit@google.com> | Thu Mar 27 17:21:13 2014 +0100 |
committer | David 'Digit' Turner <digit@google.com> | Tue Apr 01 10:22:22 2014 +0200 |
tree | 99407a4f71fa2ad3c05e37562a883ec08c3ad371 | |
parent | f652f506734ff36069f5100766d557cd9b82d29e [diff] |
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