summaryrefslogtreecommitdiff
path: root/src/mesa/glapi/glapi.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-06-17 13:23:32 -0600
committerKeith Whitwell <keith@tungstengraphics.com>2008-09-23 16:56:23 -0700
commita97226352fb8063d4d0084523312b4880dae5ac7 (patch)
tree498eafd2863bf8516f641015080137a9209368f2 /src/mesa/glapi/glapi.h
parentd533da2db873942b3f8676a754b8be3c9718bedf (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 20d35769cf..8f2cf66218 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.