mirror of
https://github.com/mpv-player/mpv
synced 2025-03-18 17:40:30 +00:00
vo_opengl: style
Use uintptr_t instead of size_t. Shouldn't matter, but is cleaner.
This commit is contained in:
parent
cea8c86f18
commit
44391af7df
@ -1342,7 +1342,7 @@ void gl_pbo_upload_tex(struct gl_pbo_upload *pbo, GL *gl, bool use_pbo,
|
||||
NULL, GL_STREAM_COPY);
|
||||
}
|
||||
|
||||
size_t offset = buffer_size * pbo->index;
|
||||
uintptr_t offset = buffer_size * pbo->index;
|
||||
pbo->index = (pbo->index + 1) % NUM_PBO_BUFFERS;
|
||||
|
||||
gl->BindBuffer(GL_PIXEL_UNPACK_BUFFER, pbo->buffer);
|
||||
|
Loading…
Reference in New Issue
Block a user