Sha256: 3de9835002dccb8a8f859054211044952716a80729851c4d6717cb33cfd5cb1c
Contents?: true
Size: 484 Bytes
Versions: 49
Compression:
Stored size: 484 Bytes
Contents
// -*- c++ -*- #pragma once #ifndef __REFLEX_SRC_WIN32_OPENGL_H__ #define __REFLEX_SRC_WIN32_OPENGL_H__ #include <windows.h> #include <rays/opengl.h> namespace Reflex { class OpenGL { public: OpenGL (); ~OpenGL (); bool init (HWND hwnd); bool fin (); bool make_current (); bool swap_buffers (); operator bool () const; bool operator ! () const; private: HWND hwnd; HDC hdc; HGLRC hrc; };// OpenGL }// Reflex #endif//EOH
Version data entries
49 entries across 49 versions & 1 rubygems