From fe7635d6e7d9699f53d44a66fdd6f206afeb926f Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 17 Oct 2022 16:58:03 +0200 Subject: [PATCH] wgldisplay: Mark a method as `static` --- panda/src/wgldisplay/wglGraphicsStateGuardian.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/wgldisplay/wglGraphicsStateGuardian.h b/panda/src/wgldisplay/wglGraphicsStateGuardian.h index fd4162eadb..e5586304ae 100644 --- a/panda/src/wgldisplay/wglGraphicsStateGuardian.h +++ b/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();