Browse Source

Fixed compilation error (spotted thanks to Clang).

vectorfields
Vladimír Vondruš 14 years ago
parent
commit
d1e9d5b992
  1. 2
      src/BufferedImage.h

2
src/BufferedImage.h

@ -99,7 +99,7 @@ template<size_t imageDimensions> class BufferedImage {
return;
}
size_t textureSize = AbstractTexture::pixelSize(AbstractTexture::ColorFormat::RGB, Type::UnsignedByte)*dimensions.product();
size_t textureSize = AbstractTexture::pixelSize(AbstractTexture::ColorFormat::RGB, Type::UnsignedByte)*_dimensions.product();
_buffer.setSubData(Buffer::Target::PixelPack, 0, textureSize, data);
}

Loading…
Cancel
Save