From 44391af7df57cf5e1cafda53ac998e7b55c51b92 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Sun, 16 Jul 2017 18:32:48 +0200 Subject: vo_opengl: style Use uintptr_t instead of size_t. Shouldn't matter, but is cleaner. --- video/out/opengl/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/out/opengl/utils.c b/video/out/opengl/utils.c index fc94f3738f..4c453b07e8 100644 --- a/video/out/opengl/utils.c +++ b/video/out/opengl/utils.c @@ -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); -- cgit v1.2.3