1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Formatting: Remove double-dots from comments and other strings

This commit is contained in:
reuk 2025-11-17 19:00:05 +00:00
parent 82dc6d1c7e
commit 83e5264c86
No known key found for this signature in database
209 changed files with 508 additions and 509 deletions

View file

@ -149,13 +149,13 @@ public:
bool setSwapInterval (int numFramesPerSwap)
{
jassert (isActive()); // this can only be called when the context is active..
jassert (isActive()); // this can only be called when the context is active
return wglSwapIntervalEXT != nullptr && wglSwapIntervalEXT (numFramesPerSwap) != FALSE;
}
int getSwapInterval() const
{
jassert (isActive()); // this can only be called when the context is active..
jassert (isActive()); // this can only be called when the context is active
return wglGetSwapIntervalEXT != nullptr ? wglGetSwapIntervalEXT() : 0;
}

View file

@ -466,7 +466,7 @@ private:
}
// trying to use a framebuffer after saving it with saveAndRelease()! Be sure to call
// reloadSavedCopy() to put it back into GPU memory before using it..
// reloadSavedCopy() to put it back into GPU memory before using it
jassertfalse;
return nullptr;

View file

@ -228,7 +228,7 @@ struct Target
: context (c), frameBufferID (fb.getFrameBufferID()),
bounds (origin.x, origin.y, fb.getWidth(), fb.getHeight())
{
jassert (frameBufferID != 0); // trying to render into an uninitialised framebuffer object.
jassert (frameBufferID != 0); // trying to render into an uninitialised framebuffer object
}
Target (const Target& other) noexcept
@ -1471,7 +1471,7 @@ struct StateHelpers
{
context.extensions.glBufferSubData (GL_ARRAY_BUFFER, 0, (GLsizeiptr) ((size_t) numVertices * sizeof (VertexInfo)), vertexData);
// NB: If you get a random crash in here and are running in a Parallels VM, it seems to be a bug in
// their driver.. Can't find a workaround unfortunately.
// their driver. Can't find a workaround unfortunately.
glDrawElements (GL_TRIANGLES, (numVertices * 3) / 2, GL_UNSIGNED_SHORT, nullptr);
JUCE_CHECK_OPENGL_ERROR
numVertices = 0;

View file

@ -139,8 +139,8 @@ void* OpenGLHelpers::getExtensionFunction (const char* functionName)
bool OpenGLHelpers::isExtensionSupported (const char* const extensionName)
{
jassert (extensionName != nullptr); // you must supply a genuine string for this.
jassert (isContextActive()); // An OpenGL context will need to be active before calling this.
jassert (extensionName != nullptr); // you must supply a genuine string for this
jassert (isContextActive()); // an OpenGL context will need to be active before calling this
if (getOpenGLVersion().major >= 3)
{

View file

@ -89,7 +89,7 @@ public:
that your implementation is thread-safe.
(Also note that on Android, this callback won't happen, because there's currently
no way to implement it..)
no way to implement it.)
*/
virtual void openGLContextClosing() = 0;
};

View file

@ -55,7 +55,7 @@ public:
@code
if (OpenGLShaderProgram::getLanguageVersion() > 1.199)
{
// ..do something that requires GLSL 1.2 or above..
// ...do something that requires GLSL 1.2 or above...
}
@endcode
*/