aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Draxinger <Wolfgang.Draxinger@draxit.de>2014-03-27 17:52:36 +0100
committerWolfgang Draxinger <Wolfgang.Draxinger@draxit.de>2014-03-27 17:52:36 +0100
commit82afda53425e5b867f61ba764cb6ece7a7027344 (patch)
treec73d1eab633d940fc330a8d1724988a3634effbd
parent9ff08e04f1c98c413c00876af45e35adad6e41af (diff)
downloadwglarb-82afda53425e5b867f61ba764cb6ece7a7027344.tar.gz
wglarb-82afda53425e5b867f61ba764cb6ece7a7027344.tar.bz2
initial commit
-rw-r--r--wglarb.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/wglarb.h b/wglarb.h
new file mode 100644
index 0000000..6bd070e
--- /dev/null
+++ b/wglarb.h
@@ -0,0 +1,42 @@
+/*
+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>
+
+HGLRC WINAPI wglext_CreateContextAttribsARB(
+ HDC hDC,
+ HGLRC hShareContext,
+ const int *attribList);
+
+BOOL WINAPI wglext_ChoosePixelFormatARB(
+ HDC hdc,
+ const int *piAttribIList,
+ const FLOAT *pfAttribFList,
+ UINT nMaxFormats,
+ int *piFormats,
+ UINT *nNumFormats);
+
+#endif/*WGLARB_H*/