remove texture upload profiling
This commit is contained in:
parent
f2aded9046
commit
5ba11dc584
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user