Use an abstract base class instead of IVectorContext

By having the abstract methods in the base class, subclasses can simply
override the methods they actually provide.
Additionally, this change fixes a regression in webgl canvas immediate.
This commit is contained in:
Guillaume Beraudo
2015-04-04 10:44:04 +02:00
parent a19c58e490
commit 0e32456108
9 changed files with 152 additions and 308 deletions
+1 -1
View File
@@ -218,7 +218,7 @@ oli.render.Event.prototype.glContext;
/**
* @type {ol.render.IVectorContext|undefined}
* @type {ol.render.VectorContext|undefined}
*/
oli.render.Event.prototype.vectorContext;