summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAren Villanueva <arenvillanueva@yomogi-soft.com>2015-11-16 11:07:21 +1100
committerAren Villanueva <arenvillanueva@yomogi-soft.com>2015-11-16 11:10:07 +1100
commit402c24ec8baf10d6445213f1552cbeaaf0b55643 (patch)
treee1b477e82b6d856888d26c6b9893f8db24ff9ccb /drivers
parent00d79a6d6cfeb53b9fe41ed193c8dfb3500fa863 (diff)
iOS compile fixes.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gles2/rasterizer_gles2.h4
-rw-r--r--drivers/gles2/shader_compiler_gles2.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gles2/rasterizer_gles2.h b/drivers/gles2/rasterizer_gles2.h
index 507e46ae75..4b512cc3a9 100644
--- a/drivers/gles2/rasterizer_gles2.h
+++ b/drivers/gles2/rasterizer_gles2.h
@@ -111,7 +111,7 @@ class RasterizerGLES2 : public Rasterizer {
Image _get_gl_image_and_format(const Image& p_image, Image::Format p_format, uint32_t p_flags,GLenum& r_gl_format,GLenum& r_gl_internal_format,int &r_gl_components,bool &r_has_alpha_cache,bool &r_compressed);
- class RenderTarget;
+ struct RenderTarget;
struct Texture {
@@ -305,7 +305,7 @@ class RasterizerGLES2 : public Rasterizer {
virtual ~GeometryOwner() {}
};
- class Mesh;
+ struct Mesh;
struct Surface : public Geometry {
diff --git a/drivers/gles2/shader_compiler_gles2.h b/drivers/gles2/shader_compiler_gles2.h
index 43902a7536..19c24757ba 100644
--- a/drivers/gles2/shader_compiler_gles2.h
+++ b/drivers/gles2/shader_compiler_gles2.h
@@ -34,7 +34,7 @@ class ShaderCompilerGLES2 {
class Uniform;
public:
- class Flags;
+ struct Flags;
private:
ShaderLanguage::ProgramNode *program_node;