summaryrefslogtreecommitdiff
path: root/platform/iphone
diff options
context:
space:
mode:
Diffstat (limited to 'platform/iphone')
-rwxr-xr-xplatform/iphone/gl_view.mm2
-rw-r--r--platform/iphone/rasterizer_iphone.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/platform/iphone/gl_view.mm b/platform/iphone/gl_view.mm
index adc76a622e..6850b6be38 100755
--- a/platform/iphone/gl_view.mm
+++ b/platform/iphone/gl_view.mm
@@ -331,7 +331,7 @@ static void clear_touches() {
glBindFramebufferOES(GL_FRAMEBUFFER_OES, viewFramebuffer);
glBindRenderbufferOES(GL_RENDERBUFFER_OES, viewRenderbuffer);
// This call associates the storage for the current render buffer with the EAGLDrawable (our CAEAGLLayer)
- // allowing us to draw into a buffer that will later be rendered to screen whereever the layer is (which corresponds with our view).
+ // allowing us to draw into a buffer that will later be rendered to screen wherever the layer is (which corresponds with our view).
[context renderbufferStorage:GL_RENDERBUFFER_OES fromDrawable:(id<EAGLDrawable>)self.layer];
glFramebufferRenderbufferOES(GL_FRAMEBUFFER_OES, GL_COLOR_ATTACHMENT0_OES, GL_RENDERBUFFER_OES, viewRenderbuffer);
diff --git a/platform/iphone/rasterizer_iphone.cpp b/platform/iphone/rasterizer_iphone.cpp
index 1a619f4305..14288e4ba0 100644
--- a/platform/iphone/rasterizer_iphone.cpp
+++ b/platform/iphone/rasterizer_iphone.cpp
@@ -1867,7 +1867,7 @@ void RasterizerIPhone::_setup_light(LightInstance *p_instance, int p_idx) {
switch (ld->type) {
case VS::LIGHT_DIRECTIONAL: {
- /* This doesnt have attenuation */
+ /* This doesn't have attenuation */
glMatrixMode(GL_MODELVIEW);
glPushMatrix();
@@ -2088,7 +2088,7 @@ void RasterizerIPhone::_render_list_forward(RenderList *p_render_list) {
uint64_t prev_light_hash = 0;
const Skeleton *prev_skeleton = NULL;
const Geometry *prev_geometry = NULL;
- const ParamOverrideMap *prev_overrides = NULL; // make it diferent than NULL
+ const ParamOverrideMap *prev_overrides = NULL; // make it different than NULL
Geometry::Type prev_geometry_type = Geometry::GEOMETRY_INVALID;