mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
screen shader replaced with default
This commit is contained in:
parent
8328db74fe
commit
8ea3db9962
3 changed files with 2 additions and 6 deletions
|
|
@ -59,7 +59,6 @@ void Framebuffer::resize(uint width, uint height) {
|
|||
if (this->width == width && this->height == height) {
|
||||
return;
|
||||
}
|
||||
GLuint texid = texture->getId();
|
||||
texture->bind();
|
||||
glTexImage2D(GL_TEXTURE_2D, 0, format, width, height, 0, format, GL_UNSIGNED_BYTE, nullptr);
|
||||
texture->unbind();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue