Browse Source

Correct some deprecated comments

Signed-off-by: falkTX <falktx@falktx.com>
pull/272/head
falkTX 4 years ago
parent
commit
97a8a19b85
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      dgl/OpenGL.hpp

+ 7
- 7
dgl/OpenGL.hpp View File

@@ -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<uint>&,ImageFormat")
explicit OpenGLImage(const char* rawData, const Size<uint>& size, GLenum format);
DISTRHO_DEPRECATED_BY("OpenGLImage(const char*, const Size<uint>&, ImageFormat)")
explicit OpenGLImage(const char* rawData, const Size<uint>& 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<int>&)")
DISTRHO_DEPRECATED_BY("drawAt(const GraphicsContext&, const Point<int>&)")
void drawAt(const Point<int>& pos);

/**


Loading…
Cancel
Save