Skip to content

Commit

Permalink
[client] egl: fix non-dma texture stride issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gnif committed Nov 15, 2023
1 parent 1f43955 commit 6357df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/renderers/EGL/texture_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ EGL_TexStatus egl_texBufferStreamProcess(EGL_Texture * texture)
glBindBuffer(GL_PIXEL_UNPACK_BUFFER, buffer->pbo);
glBindTexture(GL_TEXTURE_2D, tex);

glPixelStorei(GL_UNPACK_ROW_LENGTH, texture->format.width);
glPixelStorei(GL_UNPACK_ROW_LENGTH, texture->format.stride);
glTexSubImage2D(GL_TEXTURE_2D,
0, 0, 0,
texture->format.width,
Expand Down

0 comments on commit 6357df1

Please sign in to comment.