diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-01-22 17:52:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-22 17:52:24 +0100 |
commit | 7ffc3ec6be38042db63b154b9aadb09ae810b699 (patch) | |
tree | d002bf66ababc30cbc143d278cfb39d4e1c18962 | |
parent | 409de53e7253a0e900b09aedb983d998ccf30659 (diff) | |
parent | 00284a75e89584446ae423161ef27d6ddc8c7c6a (diff) |
Merge pull request #35437 from akien-mga/gles3-texture-mag-filter-wrong-value
GLES3: Fix invalid value for GL_TEXTURE_MAG_FILTER parameter
-rw-r--r-- | drivers/gles3/rasterizer_storage_gles3.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/rasterizer_storage_gles3.cpp b/drivers/gles3/rasterizer_storage_gles3.cpp index 0a528552cc..712120c7f4 100644 --- a/drivers/gles3/rasterizer_storage_gles3.cpp +++ b/drivers/gles3/rasterizer_storage_gles3.cpp @@ -1865,7 +1865,7 @@ void RasterizerStorageGLES3::sky_set_texture(RID p_sky, RID p_panorama, int p_ra glTexImage2D(GL_TEXTURE_2D, 0, internal_format, p_radiance_size, 2.0 * p_radiance_size, 0, format, type, NULL); glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tmp_tex, 0); glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR); - glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR_MIPMAP_LINEAR); + glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); #ifdef DEBUG_ENABLED GLenum status = glCheckFramebufferStatus(GL_FRAMEBUFFER); ERR_FAIL_COND(status != GL_FRAMEBUFFER_COMPLETE); |