From c5c5626dd564d07145bb898adf6815cb56c7199b Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Fri, 8 Jan 2016 17:37:01 +1100 Subject: [PATCH] vcl: document some OpenGL parameters Change-Id: I3e3982170e9f0f898d88fdfed2c5004dfffc6aed --- include/vcl/opengl/OpenGLHelper.hxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/vcl/opengl/OpenGLHelper.hxx b/include/vcl/opengl/OpenGLHelper.hxx index 5e1e86e602a9..4b92fb99a2e5 100644 --- a/include/vcl/opengl/OpenGLHelper.hxx +++ b/include/vcl/opengl/OpenGLHelper.hxx @@ -63,7 +63,12 @@ public: /** * The caller is responsible for deleting the buffer objects identified by * nFramebufferId, nRenderbufferDepthId and nRenderbufferColorId - * @param bRenderbuffer true => off-screen rendering, false => rendering to texture + * @param nWidth Width of frame + * @param nHeight Height of frame + * @param nFramebufferId FrameBuffer ID + * @param nRenderbufferDepthID RenderBuffer's depth ID + * @param nRenderbufferColorID RenderBuffer's color ID + * @param bRenderbuffer true => off-screen rendering, false => rendering to texture * This also affects whether to free with glDeleteRenderbuffers or glDeleteTextures */ static void createFramebuffer(long nWidth, long nHeight, GLuint& nFramebufferId,