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

Unified Diff: core/cross/renderer.cc

Issue 2825074: Initial version rendering 2D path for O3D. This will eventually allow O3D app... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/o3d/
Patch Set: '' Created 10 years, 4 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
« no previous file with comments | « core/cross/renderer.h ('k') | installer/linux/debian.in/debian.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/cross/renderer.cc
===================================================================
--- core/cross/renderer.cc (revision 57528)
+++ core/cross/renderer.cc (working copy)
@@ -729,6 +729,7 @@
// Pushes rendering states.
void Renderer::PushRenderStates(State *state) {
+#if !defined(RENDERER_CAIRO)
DCHECK(!state_stack_.empty());
if (state && (state_stack_.back() != state)) {
const NamedParamRefMap& param_map = state->params();
@@ -750,6 +751,7 @@
state = state_stack_.back();
}
state_stack_.push_back(state);
+#endif
}
// Pops rendering states to back to their previous settings.
« no previous file with comments | « core/cross/renderer.h ('k') | installer/linux/debian.in/debian.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698