Bug 44105 - egl_g3d_api.c:176: error: too few arguments to function ‘gctx->stapi->create_context’
Summary: egl_g3d_api.c:176: error: too few arguments to function ‘gctx->stapi->create_...
Status: RESOLVED DUPLICATE of bug 44101
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: highest blocker
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-23 15:40 UTC by Vinson Lee
Modified: 2011-12-23 16:09 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2011-12-23 15:40:45 UTC
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@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@intel.com>
    Reviewed-by: Brian Paul <brianp@vmware.com>
    Reviewed-by: Chia-I Wu <olv@lunarg.com>

:040000 040000 7e39e82f48d3a576f68bb039d0cff4c62b33986d c0c4564c8cbd86f650b7f0ea304c372680176259 M	src
bisect run success
Comment 1 Ian Romanick 2011-12-23 16:09:51 UTC

*** This bug has been marked as a duplicate of bug 44101 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.