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:
parent
9bf785f221
commit
8a9cb49c96
1 changed files with 2 additions and 2 deletions
|
|
@ -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"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue