Fix incorrect OS X warning message in console when using multisample antialiasing
about number of samples not matching the requested number.
This commit is contained in:
@@ -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];
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user