diff options
Diffstat (limited to 'ui/svgIcon.cpp')
| -rw-r--r-- | ui/svgIcon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/svgIcon.cpp b/ui/svgIcon.cpp index 499d9cc..42e046a 100644 --- a/ui/svgIcon.cpp +++ b/ui/svgIcon.cpp @@ -15,7 +15,7 @@ SvgIcon::SvgIcon(ImageDimensions dim, const std::filesystem::path & path) } bitmap.convertToRGBA(); - glBindTexture(GL_TEXTURE_2D, texture); + texture.bind(); glTexParameter(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_BORDER); glTexParameter(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_BORDER); |
