mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
OpenGLDemo: Fix GCC 14 compilation issue
This commit is contained in:
parent
adcdaad34f
commit
cddd850d8a
1 changed files with 2 additions and 1 deletions
|
|
@ -1120,7 +1120,8 @@ private:
|
|||
|
||||
void selectPreset (int preset)
|
||||
{
|
||||
const auto& p = OpenGLUtils::getPresets()[preset];
|
||||
const auto presets = OpenGLUtils::getPresets();
|
||||
const auto& p = presets[preset];
|
||||
|
||||
vertexDocument .replaceAllContent (p.vertexShader);
|
||||
fragmentDocument.replaceAllContent (p.fragmentShader);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue