From bc614a76c1d0e4d60a115236d8221ab0f7e07b34 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 29 Jan 2009 00:31:51 +0000 Subject: Includes and formatting --- src/mesa/drivers/dri/glamo/glamo_dri.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/mesa/drivers/dri/glamo/glamo_dri.c b/src/mesa/drivers/dri/glamo/glamo_dri.c index 6d7172484f..b36a45abc2 100644 --- a/src/mesa/drivers/dri/glamo/glamo_dri.c +++ b/src/mesa/drivers/dri/glamo/glamo_dri.c @@ -3,6 +3,8 @@ * * (c) 2009 Thomas White * + * kate: space-indent on; indent-width 3; mixedindent off; indent-mode cstyle; + * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation @@ -21,6 +23,7 @@ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#include "dri_util.h" static int glamoInitDriver(__DRIscreenPrivate *psp) { @@ -33,7 +36,7 @@ static const __DRIconfig **glamoInitScreen(__DRIscreenPrivate *psp) uint8_t depth_bits_array[1]; uint8_t stencil_bits_array[1]; static const GLenum db_modes[1] = { GLX_NONE }; - + /* Our basic initialisation */ if ( glamoInitDriver(psp) ) { return NULL; @@ -55,8 +58,8 @@ static void glamoDestroyScreen(__DRIscreenPrivate *psp) static GLboolean glamoCreateContext(const __GLcontextModes *glVis, - __DRIcontext *driContextPriv, - void *sharedContextPrivate) + __DRIcontext *driContextPriv, + void *sharedContextPrivate) { } @@ -111,12 +114,11 @@ const struct __DriverAPIRec driDriverAPI = { .SwapBuffers = glamoSwapBuffers, .MakeCurrent = glamoMakeCurrent, .UnbindContext = glamoUnbindContext, - .GetSwapInfo = NULL, /* Not used */ + .GetSwapInfo = NULL, /* Not used */ .WaitForMSC = NULL, .WaitForSBC = NULL, .SwapBuffersMSC = NULL, .CopySubBuffer = NULL, - .GetDrawableMSC = NULL, /* Not used */ - .InitScreen2 = NULL /* For DRI2 */ + .GetDrawableMSC = NULL, /* Not used */ + .InitScreen2 = NULL /* For DRI2 */ }; - -- cgit v1.2.3