Browse Source

Add missing variables to Shell.

Lloyd Weehuizen 12 years ago
parent
commit
c95b8f4a18
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Samples/shell/include/ShellRenderInterfaceOpenGL.h

+ 4 - 0
Samples/shell/include/ShellRenderInterfaceOpenGL.h

@@ -69,6 +69,10 @@ public:
 	virtual bool GenerateTexture(Rocket::Core::TextureHandle& texture_handle, const Rocket::Core::byte* source, const Rocket::Core::Vector2i& source_dimensions);
 	virtual bool GenerateTexture(Rocket::Core::TextureHandle& texture_handle, const Rocket::Core::byte* source, const Rocket::Core::Vector2i& source_dimensions);
 	/// Called by Rocket when a loaded texture is no longer required.
 	/// Called by Rocket when a loaded texture is no longer required.
 	virtual void ReleaseTexture(Rocket::Core::TextureHandle texture_handle);
 	virtual void ReleaseTexture(Rocket::Core::TextureHandle texture_handle);
+
+private:
+	int m_width;
+	int m_height;
 };
 };
 
 
 #endif
 #endif