WebGL: INVALID_OPERATION: bindTexture: object not from this context

I am initializing two CesiumViewer at the same time on the screen.

Everything seems working just fine, but on the console I get 256 times of this message:

WebGL: INVALID_OPERATION: bindTexture: object not from this context (Cesium.js:449)

and then:

Cesium.js:449 WebGL: too many errors, no more errors will be reported to the console for this context.

Any idea what is causing that?


I would not expect this since each Cesium viewer widget has its on WebGL context, which do not try to share resources.

Are your browser and video card driver up-to-date? Have you tried different browsers?

Does this example work: http://analyticalgraphicsinc.github.io/cesium-google-earth-examples/demos/multiple/


Dear Patrick,

Thanks for your response.

I am really confused what has happened. I don't know what I did, but those errors are not appearing any more on the console. Although as I mentioned, despite producing that many errors, everything seemed to work just fine. I actually noticed those errors by chance, and not because something was not working.

Anyway, I am not getting those errors any more. But thank you for your help and the great product that you and your team are providing.

In case if you are interested this is the link to that project:


also another one


These were mainly produced for "Feed The Future" and African countries. But I will add more countries later on.

[This message was reposted with correct URLs.]


Sometimes browsers run into issues, for example, if we create and destroy a lot of WebGL contexts - not sure if that is the case here.

Thanks for sharing your project. How much more development do you have planned? Let us know when it is “ready”, and we will help spread the word about your project.