소스 검색

wgldisplay: Mark a method as `static`

rdb 3 년 전
부모
커밋
fe7635d6e7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 bool made_context() const;
   INLINE HGLRC get_context(HDC hdc);
   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);
   bool get_properties_advanced(FrameBufferProperties &properties, HDC hdc, int pfnum);
   void choose_pixel_format(const FrameBufferProperties &properties, bool need_pbuffer);
   void choose_pixel_format(const FrameBufferProperties &properties, bool need_pbuffer);
   virtual void reset();
   virtual void reset();