mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Remove 'temp hack' preventing the use of multiple GraphicsEngines
This commit is contained in:
parent
81dc0f3762
commit
73b72386a0
@ -9036,7 +9036,6 @@ upload_texture(CLP(TextureContext) *gtc, bool force) {
|
||||
|
||||
GraphicsEngine *engine = get_engine();
|
||||
nassertr(engine != (GraphicsEngine *)NULL, false);
|
||||
nassertr(engine == GraphicsEngine::get_global_ptr(), false); // temp hack
|
||||
engine->texture_uploaded(tex);
|
||||
gtc->mark_loaded();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user