File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -506,7 +506,7 @@ struct SPhysicalDeviceFeatures
506
506
bool rectangularLines = false ;
507
507
bool bresenhamLines = false ;
508
508
bool smoothLines = false ;
509
- // GL HINT (remove when implemented): !IsGLES for all stipples
509
+ // end of hint
510
510
bool stippledRectangularLines = false ;
511
511
bool stippledBresenhamLines = false ;
512
512
bool stippledSmoothLines = false ;
Original file line number Diff line number Diff line change @@ -804,7 +804,11 @@ class IOpenGL_PhysicalDeviceBase : public IOpenGLPhysicalDeviceBase
804
804
m_features.samplerFilterMinmax = false ; // no such sampler in GL
805
805
m_features.shaderSubgroupExtendedTypes = m_glfeatures.isFeatureAvailable (COpenGLFeatureMap::NBL_AMD_shader_ballot);
806
806
m_features.bufferDeviceAddress = false ; // no such capability in GL
807
-
807
+
808
+ m_features.stippledRectangularLines = !IsGLES;
809
+ m_features.stippledBresenhamLines = !IsGLES;
810
+ m_features.stippledSmoothLines = !IsGLES;
811
+
808
812
/* Vulkan 1.3 Core */
809
813
m_features.subgroupSizeControl = false ;
810
814
m_features.computeFullSubgroups = false ;
You can’t perform that action at this time.
0 commit comments