summaryrefslogtreecommitdiffstats
path: root/o3d/core/cross/gl
diff options
context:
space:
mode:
authormaf@google.com <maf@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-12 23:22:09 +0000
committermaf@google.com <maf@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-12 23:22:09 +0000
commit7aaa8425b4700dd7427e1e146b090ff694fea0fc (patch)
treea91065f3ab5446d933811034e31903633802efcb /o3d/core/cross/gl
parentc74e80bdba0edd3e4f30b2316579cfb88d17ad9f (diff)
downloadchromium_src-7aaa8425b4700dd7427e1e146b090ff694fea0fc.zip
chromium_src-7aaa8425b4700dd7427e1e146b090ff694fea0fc.tar.gz
chromium_src-7aaa8425b4700dd7427e1e146b090ff694fea0fc.tar.bz2
Lots of changes needed to build with GCC in Chrome.
Review URL: http://codereview.chromium.org/164364 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23246 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/core/cross/gl')
-rw-r--r--o3d/core/cross/gl/texture_gl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/o3d/core/cross/gl/texture_gl.cc b/o3d/core/cross/gl/texture_gl.cc
index 1c57288..31bb464 100644
--- a/o3d/core/cross/gl/texture_gl.cc
+++ b/o3d/core/cross/gl/texture_gl.cc
@@ -217,7 +217,7 @@ static bool CreateGLImages(GLenum target,
temp_data.reset(new uint8[size]);
memset(temp_data.get(), 0, size);
- for (unsigned int i = 0; i < levels; ++i) {
+ for (int i = 0; i < levels; ++i) {
if (gl_format) {
glTexImage2D(target, i, internal_format, mip_width, mip_height,
0, gl_format, type, temp_data.get());