1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-30 02:50:05 +00:00

OpenGLContext: Add missing explicit keywords

This commit is contained in:
reuk 2023-10-09 13:33:52 +01:00
parent 9bf785f221
commit 8a9cb49c96
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C

View file

@ -1522,7 +1522,7 @@ void OpenGLContext::copyTexture (const Rectangle<int>& targetClipArea,
struct OverlayShaderProgram final : public ReferenceCountedObject
{
OverlayShaderProgram (OpenGLContext& context)
explicit OverlayShaderProgram (OpenGLContext& context)
: program (context), params (program)
{}
@ -1574,7 +1574,7 @@ void OpenGLContext::copyTexture (const Rectangle<int>& targetClipArea,
struct Params
{
Params (OpenGLShaderProgram& prog)
explicit Params (OpenGLShaderProgram& prog)
: positionAttribute (prog, "position"),
screenSize (prog, "screenSize"),
imageTexture (prog, "imageTexture"),