Internal change
PiperOrigin-RevId: 525084368
This commit is contained in:
parent
b4e27c137e
commit
88a10de345
|
@ -64,7 +64,7 @@ std::unique_ptr<GlTextureBuffer> GlTextureBuffer::Create(
|
||||||
int actual_ws = image_frame.WidthStep();
|
int actual_ws = image_frame.WidthStep();
|
||||||
int alignment = 0;
|
int alignment = 0;
|
||||||
std::unique_ptr<ImageFrame> temp;
|
std::unique_ptr<ImageFrame> temp;
|
||||||
const uint8* data = image_frame.PixelData();
|
const uint8_t* data = image_frame.PixelData();
|
||||||
|
|
||||||
// Let's see if the pixel data is tightly aligned to one of the alignments
|
// Let's see if the pixel data is tightly aligned to one of the alignments
|
||||||
// supported by OpenGL, preferring 4 if possible since it's the default.
|
// supported by OpenGL, preferring 4 if possible since it's the default.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user