Commit d33a4da5 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winemac: Restrict DescribePixelFormat() to displayable pixel formats.

parent c7d2bcfb
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment