fetze wrote on Saturday, September 08, 2007:
Heyho,
after manually updating to 2.6 non-beta (Win32-user) I get an reaction if I’m requesting Multisample-buffers from Glfw. Though, this reaction is not being able to create a window. This is my code:
(Using C# / .Net / Tao Framework as Glfw-Wrapper)
#region Init graphics window
Glfw.glfwOpenWindowHint(Glfw.GLFW_WINDOW_NO_RESIZE, Gl.GL_TRUE);
Glfw.glfwOpenWindowHint(Glfw.GLFW_FSAA_SAMPLES, 1);
int windowMode = isWindowed ? Glfw.GLFW_WINDOW : Glfw.GLFW_FULLSCREEN;
int windowOpen =
Glfw.glfwOpenWindow( gfxWidth,
gfxHeight,
redBits,
greenBits,
blueBits,
alphaBits,
32,
0,
windowMode);
if (windowOpen == Gl.GL_FALSE) { throw new ApplicationException(“Can’t initialize graphics window”); }
#endregion Init graphics window
Well, since I’m using the Glfw.GLFW_FSAA_SAMPLES-Hint it won’t open a window. I don’t think, it’s a bug of the Tao-Framework because it’s really just a wrapper for the dll. Tao is stuck at 2.5 at the moment, so I added some WIndowHint-Constants myself, looking at their values in Glfw-Sourcecode, compiled an now am using the windows 2.6-dll in combination with my updated Tao-Wrapper. I don’t think its the wrapper or my personal upgrade, there’s really really not much new code and the also-new NO_RESIZE works perfectly fine.
Anyway - my hardware is the following:
Windows XP SP2
Nvidia Geforce 6800 GT
These are the other settings I use:
1280 x 1024 (But there’s no effect in changing, I’ve tested)
8888 Bitmode
32 Bits depthbuffer
0 Bits stencilbuffer
No accumbuffer requested yet
Windowed mode or FUllscreen mode - no changing effect.
Now, what seems to be the problem?