summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-01-29 00:31:51 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2010-02-18 15:39:20 +0100
commitd70cd664bfe7fa23699d08b52f07221df82c807a (patch)
tree03a0cc41fc6f905b583320589f51158663567654
parent14e12ed96425a3494fdacbb91828b994e0f5d571 (diff)
Includes and formatting
-rw-r--r--src/mesa/drivers/dri/glamo/glamo_dri.c16
1 files 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 <taw@bitwiz.org.uk>
*
+ * 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 */
};
-