Răsfoiți Sursa

wgldisplay: Mark a method as `static`

rdb 3 ani în urmă
părinte
comite
fe7635d6e7
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      panda/src/wgldisplay/wglGraphicsStateGuardian.h

+ 1 - 1
panda/src/wgldisplay/wglGraphicsStateGuardian.h

@@ -38,7 +38,7 @@ public:
 
   INLINE bool made_context() const;
   INLINE HGLRC get_context(HDC hdc);
-  void get_properties(FrameBufferProperties &properties, HDC hdc, int pfnum);
+  static void get_properties(FrameBufferProperties &properties, HDC hdc, int pfnum);
   bool get_properties_advanced(FrameBufferProperties &properties, HDC hdc, int pfnum);
   void choose_pixel_format(const FrameBufferProperties &properties, bool need_pbuffer);
   virtual void reset();