|
From: Lasse Kärkkäi. <tr...@us...> - 2012-02-12 23:13:37
|
Author: Lasse Karkkainen <tro...@tr...> Date: Mon Feb 13 01:13:29 2012 +0200 Fix the class name in a warning message. --- game/surface.cc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/game/surface.cc b/game/surface.cc index 5b7078b..a09763a 100644 --- a/game/surface.cc +++ b/game/surface.cc @@ -114,7 +114,7 @@ void Texture::load(unsigned int width, unsigned int height, pix::Format format, // Every developer of the game so far has tried doing so, but it just cannot work. // (1) no repeat => cannot texture // (2) coordinates not normalized => would require special hackery elsewhere - // Just don't do it in Surface class, thanks. -Tronic + // Just don't do it in Texture class, thanks. -Tronic glTexImage2D(type(), 0, internalFormat(), newWidth, newHeight, 0, f.format, f.type, &outBuf[0]); } glGenerateMipmap(type()); |