View Issue Details

IDProjectCategoryView StatusLast Update
0001597NoesisGUIC++ SDKpublic2019-12-09 19:28
ReporterjsantosAssigned Tojsantos 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.2.5 
Target VersionFixed in Version2.2.6 
Summary0001597: Warning in GLRenderContext.mm.cpp
DescriptionNoesisApp.lib is not building in Debug because there are two warnings in GLRenderContext.mm.cpp
TagsNo tags attached.
PlatformAny

Activities

jsantos

jsantos

2019-12-09 19:28

manager   ~0006033

Fixed in 2.2.6

Index: GLRenderContext.mm.cpp
===================================================================
--- GLRenderContext.mm.cpp	(revision 8517)
+++ GLRenderContext.mm.cpp	(working copy)
@@ -510,7 +510,9 @@
             flags |= WGL_CONTEXT_DEBUG_BIT_ARB;
         #endif
 
-        bool createContextNoError = strstr(extensions, "WGL_ARB_create_context_no_error") != 0;
+        #ifndef NS_DEBUG
+            bool createContextNoError = strstr(extensions, "WGL_ARB_create_context_no_error") != 0;
+        #endif
 
         for (int i = 0; i < NS_COUNTOF(versions) && mContext == 0; i++)
         {
@@ -833,7 +835,9 @@
             flags |= GLX_CONTEXT_DEBUG_BIT_ARB;
         #endif
 
-        bool createContextNoError = strstr(extensions, "GLX_ARB_create_context_no_error") != 0;
+        #ifndef NS_DEBUG
+            bool createContextNoError = strstr(extensions, "GLX_ARB_create_context_no_error") != 0;
+        #endif
 
         for (uint32_t i = 0; i < NS_COUNTOF(versions) && context == 0; i++)
         {

Issue History

Date Modified Username Field Change
2019-12-09 19:27 jsantos New Issue
2019-12-09 19:28 jsantos Assigned To => jsantos
2019-12-09 19:28 jsantos Status new => assigned
2019-12-09 19:28 jsantos Status assigned => resolved
2019-12-09 19:28 jsantos Resolution open => fixed
2019-12-09 19:28 jsantos Fixed in Version => 2.2.6
2019-12-09 19:28 jsantos Note Added: 0006033