I’m working on a playcanvas project that worked fine before the latest update (PlayCanvas 1.52.6) .
Now it seems that creating a texture like this:
var texture = new pc.Texture(1, {
width: 8,
height: 8,
format: pc.PIXELFORMAT_R8_G8_B8
});
will result in an error like this:
TypeError: graphicsDevice.createTextureImpl is not a function
at new Texture (playcanvas.dbg.js?version=1.52.6:7447:31)
Would anyone know what has changed between the versions to cause this error?
Is there a work around that anyone would know about?
Thanks for your time