# Won't let me setup Multisample-Buffers

**URL:** <https://discourse.glfw.org/t/wont-let-me-setup-multisample-buffers/436>\
**Category:** support\
**Created:** [September 8, 2007, 8:47am UTC](https://discourse.glfw.org/t/wont-let-me-setup-multisample-buffers/436 "2007-09-08T08:47:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [September 8, 2007, 8:47am UTC](https://discourse.glfw.org/t/wont-let-me-setup-multisample-buffers/436/1 "2007-09-08T08:47:31Z")

</div>

**[fetze](https://sourceforge.net/u/fetze/)** wrote on [Saturday, September 08, 2007](https://sourceforge.net/p/glfw/discussion/247562/thread/90b5c6ef/#0064):

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?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [September 11, 2007, 4:29pm UTC](https://discourse.glfw.org/t/wont-let-me-setup-multisample-buffers/436/2 "2007-09-11T16:29:32Z")

</div>

**nobody** wrote on [Tuesday, September 11, 2007](https://sourceforge.net/p/glfw/discussion/247562/thread/90b5c6ef/#bc24):

GLFW\_FSAA\_SAMPLES should be set to 2 or 4

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [September 11, 2007, 4:37pm UTC](https://discourse.glfw.org/t/wont-let-me-setup-multisample-buffers/436/3 "2007-09-11T16:37:03Z")

</div>

**[fetze](https://sourceforge.net/u/fetze/)** wrote on [Tuesday, September 11, 2007](https://sourceforge.net/p/glfw/discussion/247562/thread/90b5c6ef/#bc24/3b78):

I already tried 2 and 4 and moved back to 0ne 'cause I guessed it might work then… 😕
