diff options
author | Maxime Curioni <maxime.curioni@gmail.com> | 2008-09-09 23:00:16 +0400 |
---|---|---|
committer | Maxime Curioni <maxime.curioni@gmail.com> | 2008-09-09 23:00:16 +0400 |
commit | efcbb9e73876ea34a8e36180f6df0b6e6792211d (patch) | |
tree | 427f4b62bcf0437f6f42b8248bf9e6cb5e041f49 /source/blender/freestyle/intern/rendering | |
parent | 449f210c464f95de3b0bcf641ed5ff046d215617 (diff) |
soc-2008-mxcurioni: Win32 build clean-up
Diffstat (limited to 'source/blender/freestyle/intern/rendering')
-rwxr-xr-x | source/blender/freestyle/intern/rendering/GLUtils.cpp | 70 | ||||
-rwxr-xr-x | source/blender/freestyle/intern/rendering/GLUtils.h | 29 |
2 files changed, 0 insertions, 99 deletions
diff --git a/source/blender/freestyle/intern/rendering/GLUtils.cpp b/source/blender/freestyle/intern/rendering/GLUtils.cpp deleted file mode 100755 index 87ebc90e768..00000000000 --- a/source/blender/freestyle/intern/rendering/GLUtils.cpp +++ /dev/null @@ -1,70 +0,0 @@ - -// -// Copyright (C) : Please refer to the COPYRIGHT file distributed -// with this source distribution. -// -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// -/////////////////////////////////////////////////////////////////////////////// -#include "GLUtils.h" - -# ifdef WIN32 -# include <windows.h> -# endif -# ifdef __MACH__ -# include <OpenGL/gl.h> -# else -# include <GL/gl.h> -# endif -#include <string.h> - -// int isExtensionSupported(const char *extension) -// { -// const GLubyte *extensions = NULL; -// const GLubyte *start; -// GLubyte *where, *terminator; -// -// /* Extension names should not have spaces. */ -// where = (GLubyte *) strchr(extension, ' '); -// if (where || *extension == '\0') -// return 0; -// extensions = glGetString(GL_EXTENSIONS); -// /* It takes a bit of care to be fool-proof about parsing the -// OpenGL extensions string. Don't be fooled by sub-strings, -// etc. */ -// start = extensions; -// for (;;) { -// where = (GLubyte *) strstr((const char *) start, extension); -// if (!where) -// break; -// terminator = where + strlen(extension); -// if (where == start || *(where - 1) == ' ') -// if (*terminator == ' ' || *terminator == '\0') -// return 1; -// start = terminator; -// } -// return 0; -// } -// -// void *glutils_extgl_GetProcAddress(const char *name) -// { -// #ifdef _WIN32 -// void *t = wglGetProcAddress(name); -// return t; -// #else -// return NULL; -// #endif -// } - diff --git a/source/blender/freestyle/intern/rendering/GLUtils.h b/source/blender/freestyle/intern/rendering/GLUtils.h deleted file mode 100755 index 2b358230e36..00000000000 --- a/source/blender/freestyle/intern/rendering/GLUtils.h +++ /dev/null @@ -1,29 +0,0 @@ -// -// Copyright (C) : Please refer to the COPYRIGHT file distributed -// with this source distribution. -// -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// -/////////////////////////////////////////////////////////////////////////////// - -#ifndef GLUTILS_H -#define GLUTILS_H - -#include "../system/FreestyleConfig.h" - -// int LIB_RENDERING_EXPORT isExtensionSupported(const char *extension); -// void LIB_RENDERING_EXPORT *glutils_extgl_GetProcAddress(const char *name); - -#endif |