Browse Source

Fixed D3D9 build.

Lasse Öörni 12 years ago
parent
commit
3068d3c46c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/Graphics/Direct3D9/D3D9Graphics.h

+ 1 - 1
Engine/Graphics/Direct3D9/D3D9Graphics.h

@@ -223,7 +223,7 @@ public:
     /// Return whether triple buffering is enabled.
     /// Return whether triple buffering is enabled.
     bool GetTripleBuffer() const { return tripleBuffer_; }
     bool GetTripleBuffer() const { return tripleBuffer_; }
     /// Return whether the main window is using SRGB writing.
     /// Return whether the main window is using SRGB writing.
-    bool IsSRGB() const { return sRGB_; }
+    bool GetSRGB() const { return sRGB_; }
     /// Return whether Direct3D device is lost, and can not yet render. This happens during fullscreen resolution switching.
     /// Return whether Direct3D device is lost, and can not yet render. This happens during fullscreen resolution switching.
     bool IsDeviceLost() const { return deviceLost_; }
     bool IsDeviceLost() const { return deviceLost_; }
     /// Return number of primitives drawn this frame.
     /// Return number of primitives drawn this frame.