st/mesa: inline _mesa_create_context() into its only caller
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 7 Jun 2016 16:33:48 +0000 (17:33 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 13 Jun 2016 14:31:29 +0000 (15:31 +0100)
commitdb8790c0dadffb6c88a0939bd34eca2b8e75d2e0
treea367fe7c69ba9956091fd51eecf48de633d45fc0
parenta4fa8bf819fd7189ab1d41e82b79dc007f7a7300
st/mesa: inline _mesa_create_context() into its only caller

Inline the function into it's only caller. This way it's more obvious
how the classic and gallium drivers (st/mesa) use _mesa_initialize_context.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/context.c
src/mesa/main/context.h
src/mesa/state_tracker/st_context.c