winemac: Restrict DescribePixelFormat() to displayable pixel formats.

This commit is contained in:
Ken Thomases 2013-09-11 23:46:06 -05:00 committed by Alexandre Julliard
parent c7d2bcfb61
commit d33a4da5ed
1 changed files with 1 additions and 1 deletions

View File

@ -3307,7 +3307,7 @@ static BOOL create_context(struct wgl_context *context, CGLContextObj share)
*/
int macdrv_wglDescribePixelFormat(HDC hdc, int fmt, UINT size, PIXELFORMATDESCRIPTOR *descr)
{
int ret = nb_formats;
int ret = nb_displayable_formats;
const pixel_format *pf;
const struct color_mode *mode;