[Bug 13483] Opengl.c test fails in windows xp when in 16bit color mode

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Oct 2 18:23:58 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=13483





--- Comment #1 from Austin English <austinenglish at gmail.com>  2008-10-02 18:23:57 ---
Still present in git. Relevant portion of the code:

dlls/opengl32/tests/opengl.c
--snip--
    const int iAttribList[] = { WGL_COLOR_BITS_ARB, WGL_RED_BITS_ARB,
WGL_GREEN_BITS_ARB,
                                WGL_BLUE_BITS_ARB, WGL_ALPHA_BITS_ARB };
    int iAttribRet[sizeof(iAttribList)/sizeof(iAttribList[0])];
    const int iAttribs[] = { WGL_ALPHA_BITS_ARB, 1, 0 };
    unsigned int nFormats;
    int res;
    int iPixelFormat = 0;
--snip--
    iAttribRet[1] += iAttribRet[2]+iAttribRet[3]+iAttribRet[4];
    ok(iAttribRet[0] == iAttribRet[1], "WGL_COLOR_BITS_ARB (%d) does not equal
R+G+B+A (%d)!\n",
                                       iAttribRet[0], iAttribRet[1]);
}
--snip--


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list