diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-04-02 23:18:38 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-04-02 23:18:38 +0400 |
commit | 9cd197cd8282806f6933ee0f699ef32d7da99518 (patch) | |
tree | 90ce6d3ff81c17bf189cc7a8ceed1e997151a713 /intern | |
parent | 498983a9a4ee202c1e86b23a955a677489c7fe64 (diff) |
Fix incorrect OS X warning message in console when using multisample antialiasing
about number of samples not matching the requested number.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowCocoa.mm | 2 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_WindowNULL.h | 2 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_WindowWin32.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm index 795b5200ae2..61b853d79b0 100644 --- a/intern/ghost/intern/GHOST_WindowCocoa.mm +++ b/intern/ghost/intern/GHOST_WindowCocoa.mm @@ -454,7 +454,7 @@ GHOST_WindowCocoa::GHOST_WindowCocoa( GHOST_TDrawingContextType type, const bool stereoVisual, const GHOST_TUns16 numOfAASamples ) : - GHOST_Window(width, height, state, GHOST_kDrawingContextTypeNone, stereoVisual, numOfAASamples), + GHOST_Window(width, height, state, GHOST_kDrawingContextTypeNone, stereoVisual, false, numOfAASamples), m_customCursor(0) { NSOpenGLPixelFormatAttribute pixelFormatAttrsWindow[40]; diff --git a/intern/ghost/intern/GHOST_WindowNULL.h b/intern/ghost/intern/GHOST_WindowNULL.h index e3d092101b0..f595fa7d794 100644 --- a/intern/ghost/intern/GHOST_WindowNULL.h +++ b/intern/ghost/intern/GHOST_WindowNULL.h @@ -53,7 +53,7 @@ public: const bool stereoVisual, const GHOST_TUns16 numOfAASamples ) : - GHOST_Window(width, height, state, type, stereoVisual, numOfAASamples), + GHOST_Window(width, height, state, type, stereoVisual, false, numOfAASamples), m_system(system) { setTitle(title); diff --git a/intern/ghost/intern/GHOST_WindowWin32.cpp b/intern/ghost/intern/GHOST_WindowWin32.cpp index b1a9ca52605..2b1bdfa78f0 100644 --- a/intern/ghost/intern/GHOST_WindowWin32.cpp +++ b/intern/ghost/intern/GHOST_WindowWin32.cpp @@ -130,7 +130,7 @@ GHOST_WindowWin32::GHOST_WindowWin32( int msPixelFormat) : GHOST_Window(width, height, state, GHOST_kDrawingContextTypeNone, - stereoVisual, numOfAASamples), + stereoVisual, false, numOfAASamples), m_system(system), m_hDC(0), m_hGlRc(0), |