[Bug 5418] New: dlls/wined3d/device.c lines 1282-1295

Wine Bugs wine-bugs at winehq.org
Tue Jun 13 02:05:43 CDT 2006


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

           Summary: dlls/wined3d/device.c lines 1282-1295
           Product: Wine
           Version: 0.9.15.
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P5
         Component: test
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: master_up at post.cz


if (NULL == object->glCtx) {
         ERR("cannot create glxContext\n");
         LEAVE_GL();
         return WINED3DERR_NOTAVAILABLE;
     }
 
     LEAVE_GL();
     if (object->glCtx == NULL) {
         ERR("Error in context creation !\n");
         return WINED3DERR_INVALIDCALL;
     } else {
         TRACE("Context created (HWND=%p, glContext=%p, Window=%ld, VisInfo=%p)\n",
                 object->win_handle, object->glCtx, object->win, object->visInfo);
     }

------------
I'm not sure, but LEAVE_GL(); cannot change value in object->glCtx. If cannot,
the previous code check the same twice. Or there is a good reson to do this?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list