remove texture upload profiling

This commit is contained in:
veclavtalica 2025-02-09 08:30:46 +03:00
parent f2aded9046
commit 5ba11dc584

View File

@ -209,8 +209,6 @@ void upload_gpu_texture(GPUTexture texture, void *pixels, int channels, int widt
return;
}
profile_start("texture upload");
glTexSubImage2D(GL_TEXTURE_2D,
0,
0,
@ -221,8 +219,6 @@ void upload_gpu_texture(GPUTexture texture, void *pixels, int channels, int widt
GL_UNSIGNED_BYTE,
pixels);
profile_end("texture upload");
glBindTexture(GL_TEXTURE_2D, 0);
}