diff options
author | John Mayhew | 2012-02-10 16:20:45 -0800 |
---|---|---|
committer | John Mayhew | 2012-02-10 16:20:45 -0800 |
commit | eb0032234971f2c1c471f562d52c086fcffe8a14 (patch) | |
tree | 9fe9a49b5b49c3c0d15ea4fc124df4c100ffb730 /js/helper-classes/RDGE/GLCircle.js | |
parent | 730c1e191e36b8ab8dba576c481a6585e0dfa69e (diff) | |
parent | 344933fd505afb9f5dfa3be8cc959112df04da0a (diff) | |
download | ninja-eb0032234971f2c1c471f562d52c086fcffe8a14.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into WorkingBranch
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(); |