Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1592)

Unified Diff: core/cross/gl/sampler_gl.cc

Issue 159168: This fixes a number of things that are warnings in the Mac compiler.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: core/cross/gl/sampler_gl.cc
===================================================================
--- core/cross/gl/sampler_gl.cc (revision 21208)
+++ core/cross/gl/sampler_gl.cc (working copy)
@@ -96,6 +96,8 @@
else if (mip_filter == Sampler::LINEAR)
return GL_LINEAR_MIPMAP_LINEAR;
}
+ DCHECK(false);
+ return GL_NONE;
}
unsigned int GLMagFilter(Sampler::FilterType o3d_filter) {

Powered by Google App Engine
This is Rietveld 408576698