21 #include "glfw/visual.h"
24 using namespace mondschein;
25 using namespace display;
27 GLFW_Visual::GLFW_Visual() :
Visual(), renderer::Context()
33 Visual(_dsp), renderer::Context(_c)
38 GLFW_Visual::~GLFW_Visual()
48 glfwOpenWindowHint(GLFW_ACCUM_RED_BITS,c.
accum_depth(0));
49 glfwOpenWindowHint(GLFW_ACCUM_GREEN_BITS,c.
accum_depth(1));
50 glfwOpenWindowHint(GLFW_ACCUM_BLUE_BITS,c.
accum_depth(2));
51 glfwOpenWindowHint(GLFW_ACCUM_ALPHA_BITS,c.
accum_depth(3));
52 glfwOpenWindowHint(GLFW_WINDOW_NO_RESIZE,GL_TRUE);
55 else mode=GLFW_WINDOW;