mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Formatting
This commit is contained in:
parent
ff0cb4ad5b
commit
4153d59e39
279 changed files with 1281 additions and 1281 deletions
|
|
@ -162,7 +162,7 @@ private:
|
|||
{
|
||||
for (int i = images.size(); --i >= 0;)
|
||||
{
|
||||
auto& ci = *images.getUnchecked(i);
|
||||
auto& ci = *images.getUnchecked (i);
|
||||
|
||||
if (ci.pixelData == im)
|
||||
{
|
||||
|
|
@ -1214,7 +1214,7 @@ struct StateHelpers
|
|||
|
||||
for (int i = 0; i < numTexturesToCache - 2; ++i)
|
||||
{
|
||||
auto* t = textures.getUnchecked(i);
|
||||
auto* t = textures.getUnchecked (i);
|
||||
|
||||
if (t->getWidth() == w && t->getHeight() == h)
|
||||
return textures.removeAndReturn (i);
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ void OpenGLShaderProgram::release() noexcept
|
|||
double OpenGLShaderProgram::getLanguageVersion()
|
||||
{
|
||||
return String::fromUTF8 ((const char*) glGetString (GL_SHADING_LANGUAGE_VERSION))
|
||||
.retainCharacters("1234567890.").getDoubleValue();
|
||||
.retainCharacters ("1234567890.").getDoubleValue();
|
||||
}
|
||||
|
||||
bool OpenGLShaderProgram::addShader (const String& code, GLenum type)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue