aboutsummaryrefslogtreecommitdiff
path: root/src/wglarb.h
diff options
context:
space:
mode:
authorWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2015-04-17 22:08:23 +0200
committerWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2015-04-17 22:08:23 +0200
commitc3657a01ec8ce2c159978d1ee4d36b5456413ca1 (patch)
tree693deb440fe1f2ef028598ee428f07343b0bad13 /src/wglarb.h
parentb227e5e43414a59014c4882a2ead764ff3abd736 (diff)
downloadwglarb-c3657a01ec8ce2c159978d1ee4d36b5456413ca1.tar.gz
wglarb-c3657a01ec8ce2c159978d1ee4d36b5456413ca1.tar.bz2
changed build system from plain Makefile to CMake
Diffstat (limited to 'src/wglarb.h')
-rw-r--r--src/wglarb.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/wglarb.h b/src/wglarb.h
new file mode 100644
index 0000000..8c2b883
--- /dev/null
+++ b/src/wglarb.h
@@ -0,0 +1,43 @@
+/*
+Copyright (c) 2014 Wolfgang 'datenwolf' Draxinger
+
+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 the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+*/
+#pragma once
+
+#ifndef WGLARB_H
+#define WGLARB_H
+
+#include <windows.h>
+#include <GL/wglext.h>
+
+HGLRC WINAPI wglarb_CreateContextAttribsARB(
+ HDC hDC,
+ HGLRC hShareContext,
+ const int *attribList);
+
+BOOL WINAPI wglarb_ChoosePixelFormatARB(
+ HDC hdc,
+ const int *piAttribIList,
+ const FLOAT *pfAttribFList,
+ UINT nMaxFormats,
+ int *piFormats,
+ UINT *nNumFormats);
+
+#endif/*WGLARB_H*/