[Mesa-dev] [Bug 92020] wglCreatePbufferARB handle attrib error

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 16 03:27:56 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=92020

            Bug ID: 92020
           Summary: wglCreatePbufferARB handle attrib error
           Product: Mesa
           Version: 11.0
          Hardware: x86 (IA32)
                OS: Windows (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: EGL
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: 332447549 at qq.com
        QA Contact: mesa-dev at lists.freedesktop.org

HPBUFFERARB WINAPI
wglCreatePbufferARB(HDC hCurrentDC,
                    int iPixelFormat,
                    int iWidth,
                    int iHeight,
                    const int *piAttribList)
{
//......

   for (piAttrib = piAttribList; *piAttrib; piAttrib++) {
      switch (*piAttrib) {
      case WGL_PBUFFER_LARGEST_ARB:
         piAttrib++;
         useLargest = *piAttrib;
         break;
      default:
         SetLastError(ERROR_INVALID_DATA);
         return 0;// <-- delete this
      }
   }

//.....
}

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150916/dd91be42/attachment.html>


More information about the mesa-dev mailing list