mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +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)
|
void selectPreset (int preset)
|
||||||
{
|
{
|
||||||
const auto& p = OpenGLUtils::getPresets()[preset];
|
const auto presets = OpenGLUtils::getPresets();
|
||||||
|
const auto& p = presets[preset];
|
||||||
|
|
||||||
vertexDocument .replaceAllContent (p.vertexShader);
|
vertexDocument .replaceAllContent (p.vertexShader);
|
||||||
fragmentDocument.replaceAllContent (p.fragmentShader);
|
fragmentDocument.replaceAllContent (p.fragmentShader);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue