summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/glapi.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-06-17 13:23:32 -0600
committerBrian Paul <[email protected]>2008-06-18 09:22:00 -0600
commit29d632efbc29200ed4f6f5e34dd10c857a2568aa (patch)
treeeeeceb17c1f322444d5bb775bc26767550eb7120 /src/mesa/glapi/glapi.h
parent04996bcef6d65b81f7c2acc873befa2805296800 (diff)
mesa: refactor: move GetProcAddress code from glapi.c into new glapi_getproc.c file
Diffstat (limited to 'src/mesa/glapi/glapi.h')
-rw-r--r--src/mesa/glapi/glapi.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/mesa/glapi/glapi.h b/src/mesa/glapi/glapi.h
index 20d35769cf8..8f2cf662183 100644
--- a/src/mesa/glapi/glapi.h
+++ b/src/mesa/glapi/glapi.h
@@ -1,8 +1,8 @@
/*
* Mesa 3-D graphics library
- * Version: 6.5
+ * Version: 7.1
*
- * Copyright (C) 1999-2006 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2008 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -44,8 +44,10 @@
#ifndef _GLAPI_H
#define _GLAPI_H
+#define GL_GLEXT_PROTOTYPES
#include "GL/gl.h"
+#include "GL/glext.h"
#include "glthread.h"
@@ -66,6 +68,12 @@ typedef void (*_glapi_warning_func)(void *ctx, const char *str, ...);
#endif
+/*
+ * Number of extension functions which we can dynamically add at runtime.
+ */
+#define MAX_EXTENSION_FUNCS 300
+
+
/**
** Define the GET_CURRENT_CONTEXT() macro.
** \param C local variable which will hold the current context.