diff options
author | Valerio Virgillito | 2012-02-12 21:50:49 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-12 21:50:49 -0800 |
commit | dcd147265ad0339448ea4466253b03b2899e0cea (patch) | |
tree | a2afd9a3f4b4545141b21a31002d81bb5f79f44b /js/helper-classes/RDGE/GLCircle.js | |
parent | a30d76ff641ce89686cf5fbd9f04ac9ab4e9c830 (diff) | |
parent | e142611e22718b1f1d1696902ad9161ec5f33f98 (diff) | |
download | ninja-dcd147265ad0339448ea4466253b03b2899e0cea.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into stage-color
Diffstat (limited to 'js/helper-classes/RDGE/GLCircle.js')
-rw-r--r-- | js/helper-classes/RDGE/GLCircle.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/helper-classes/RDGE/GLCircle.js b/js/helper-classes/RDGE/GLCircle.js index 942eb528..08057778 100644 --- a/js/helper-classes/RDGE/GLCircle.js +++ b/js/helper-classes/RDGE/GLCircle.js | |||
@@ -133,6 +133,9 @@ function GLCircle() | |||
133 | if (!world) throw( "null world in buildBuffers" ); | 133 | if (!world) throw( "null world in buildBuffers" ); |
134 | 134 | ||
135 | if (!world._useWebGL) return; | 135 | if (!world._useWebGL) return; |
136 | |||
137 | // make sure RDGE has the correct context | ||
138 | g_Engine.setContext( world.getCanvas().uuid ); | ||
136 | 139 | ||
137 | // create the gl buffer | 140 | // create the gl buffer |
138 | var gl = world.getGLContext(); | 141 | var gl = world.getGLContext(); |