diff --git a/dgl/OpenGL.hpp b/dgl/OpenGL.hpp index deb677fc..9328e5c1 100644 --- a/dgl/OpenGL.hpp +++ b/dgl/OpenGL.hpp @@ -234,16 +234,16 @@ public: @note @a rawData must remain valid for the lifetime of this Image. DEPRECATED This constructor uses OpenGL image format instead of DISTRHO one. */ - DISTRHO_DEPRECATED_BY("OpenGLImage(const char*,uint,uint,ImageFormat") - explicit OpenGLImage(const char* rawData, uint width, uint height, GLenum format); + DISTRHO_DEPRECATED_BY("OpenGLImage(const char*, uint, uint, ImageFormat)") + explicit OpenGLImage(const char* rawData, uint width, uint height, GLenum glFormat); /** Constructor using raw image data, specifying an OpenGL image format. @note @a rawData must remain valid for the lifetime of this Image. DEPRECATED This constructor uses OpenGL image format instead of DISTRHO one. */ - DISTRHO_DEPRECATED_BY("OpenGLImage(const char*,const Size&,ImageFormat") - explicit OpenGLImage(const char* rawData, const Size& size, GLenum format); + DISTRHO_DEPRECATED_BY("OpenGLImage(const char*, const Size&, ImageFormat)") + explicit OpenGLImage(const char* rawData, const Size& size, GLenum glFormat); /** Draw this image at (0, 0) point using the current OpenGL context. @@ -256,14 +256,14 @@ public: Draw this image at (x, y) point using the current OpenGL context. DEPRECATED This function does not take into consideration the current graphics context and only works in OpenGL. */ - DISTRHO_DEPRECATED_BY("drawAt(const GraphicsContext&,int,int)") - void drawAt(const int x, const int y); + DISTRHO_DEPRECATED_BY("drawAt(const GraphicsContext&, int, int)") + void drawAt(int x, int y); /** Draw this image at position @a pos using the current OpenGL context. DEPRECATED This function does not take into consideration the current graphics context and only works in OpenGL. */ - DISTRHO_DEPRECATED_BY("drawAt(const GraphicsContext&,const Point&)") + DISTRHO_DEPRECATED_BY("drawAt(const GraphicsContext&, const Point&)") void drawAt(const Point& pos); /**