You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Merge pull request #52585 from Calinou/screen-texture-improve-no-sampling-error
This commit is contained in:
@@ -717,7 +717,7 @@ void RasterizerCanvasBaseGLES3::render_rect_nvidia_workaround(const Item::Comman
|
||||
}
|
||||
|
||||
void RasterizerCanvasBaseGLES3::_copy_texscreen(const Rect2 &p_rect) {
|
||||
ERR_FAIL_COND_MSG(storage->frame.current_rt->effects.mip_maps[0].sizes.size() == 0, "Can't use screen texture copying in a render target configured without copy buffers.");
|
||||
ERR_FAIL_COND_MSG(storage->frame.current_rt->effects.mip_maps[0].sizes.size() == 0, "Can't use screen texture copying in a render target configured without copy buffers. To resolve this, change the viewport's Usage property to \"2D\" or \"3D\" instead of \"2D Without Sampling\" or \"3D Without Effects\" respectively.");
|
||||
|
||||
glDisable(GL_BLEND);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user