add webgl support
This commit is contained in:
@@ -1577,7 +1577,7 @@ bool Canvas::create(int width, int height)
|
||||
m_tex[i].create(width, height, GL_RGBA8);
|
||||
m_tex2[i].create(width, height, GL_RGBA8);
|
||||
}
|
||||
#if defined(__IOS__) || defined(__ANDROID__)
|
||||
#if defined(__GLES__)
|
||||
m_sampler_brush.create();
|
||||
#else
|
||||
m_sampler_brush.create(GL_LINEAR, GL_CLAMP_TO_BORDER);
|
||||
|
||||
Reference in New Issue
Block a user