add webgl support

This commit is contained in:
2019-10-05 21:08:40 +02:00
parent a1c0dcb007
commit f2a73a905d
19 changed files with 370 additions and 11 deletions

View File

@@ -147,7 +147,7 @@ void NodePanelGrid::init_controls()
if (texres == m_texture.size().x)
return;
#if defined(__IOS__) || defined(__ANDROID__)
#if defined(__GLES__)
m_texture.create(texres, texres);
m_texture.create_mipmaps();
#else