Remove unused variable after aab8f44

This commit is contained in:
Rémi Verschelde 2019-02-22 16:51:16 +01:00
parent aab8f443f9
commit 513b7ddab6

View file

@ -4279,9 +4279,6 @@ void RasterizerStorageGLES2::_render_target_allocate(RenderTarget *rt) {
// copy texscreen buffers
if (!(rt->flags[RasterizerStorage::RENDER_TARGET_NO_SAMPLING])) {
int w = rt->width;
int h = rt->height;
glGenTextures(1, &rt->copy_screen_effect.color);
glBindTexture(GL_TEXTURE_2D, rt->copy_screen_effect.color);