[Mesa-dev] [Bug 44105] New: egl_g3d_api.c:176: error: too few arguments to function ‘gctx- >stapi-> create_context’

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 23 15:40:45 PST 2011


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

             Bug #: 44105
           Summary: egl_g3d_api.c:176: error: too few arguments to
                    function ‘gctx->stapi->create_context’
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: blocker
          Priority: highest
         Component: Other
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: vlee at vmware.com
                CC: idr at freedesktop.org


mesa: 9df8662e28ff6b60e5296dc4583372e0771a3263 (master)

$ scons
[...]
  Compiling src/gallium/state_trackers/egl/common/egl_g3d_api.c ...
src/gallium/state_trackers/egl/common/egl_g3d_api.c: In function
‘egl_g3d_create_context’:
src/gallium/state_trackers/egl/common/egl_g3d_api.c:176: warning: passing
argument 4 of ‘gctx->stapi->create_context’ from incompatible pointer type
src/gallium/state_trackers/egl/common/egl_g3d_api.c:176: note: expected ‘enum
st_context_error *’ but argument is of type ‘struct st_context_iface *’
src/gallium/state_trackers/egl/common/egl_g3d_api.c:176: error: too few
arguments to function ‘gctx->stapi->create_context’


d18152028e1825c05c7de33acacee3336350a096 is the first bad commit
commit d18152028e1825c05c7de33acacee3336350a096
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Dec 13 15:46:20 2011 -0800

    st-api: Have context_create explain why creation failed

    This won't be used in the client-side libGL, but the xserver has to
    generate a different protocol error depending on the reason context
    creation failed.

    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Brian Paul <brianp at vmware.com>
    Reviewed-by: Chia-I Wu <olv at lunarg.com>

:040000 040000 7e39e82f48d3a576f68bb039d0cff4c62b33986d
c0c4564c8cbd86f650b7f0ea304c372680176259 M    src
bisect run success

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list