Skip to content
Snippets Groups Projects
Commit ee1012ab authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Remove debug out

parent dc4b75aa
No related branches found
No related tags found
1 merge request!274Fix gl texture memory alignment
Pipeline #22386 passed
...@@ -59,7 +59,6 @@ void GLTexture::make(int width, int height) { ...@@ -59,7 +59,6 @@ void GLTexture::make(int width, int height) {
width_ = width; width_ = width;
height_ = height; height_ = height;
stride_ = ((width*4) % ALIGNMENT != 0) ? ((width*4) + (ALIGNMENT - ((width*4) % ALIGNMENT))) / 4 : width; stride_ = ((width*4) % ALIGNMENT != 0) ? ((width*4) + (ALIGNMENT - ((width*4) % ALIGNMENT))) / 4 : width;
LOG(INFO) << "STRIDE: " << stride_;
if (width == 0 || height == 0) { if (width == 0 || height == 0) {
throw FTL_Error("Invalid texture size"); throw FTL_Error("Invalid texture size");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment