Browse Source

obs-d3d11: include float.h for FLT_MAX

gcc expects this header to be included
martell 10 năm trước cách đây
mục cha
commit
e96bd8c6bb
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      libobs-d3d11/d3d11-samplerstate.cpp

+ 1 - 0
libobs-d3d11/d3d11-samplerstate.cpp

@@ -16,6 +16,7 @@
 ******************************************************************************/
 
 #include <graphics/vec4.h>
+#include <float.h>
 
 #include "d3d11-subsystem.hpp"