Skip to content

Commit 121bec3

Browse files
committed
[TexturedCube] Fix ambiguous reference
1 parent 805c4fb commit 121bec3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

TexturedCube-1.0/PaintingView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ void LoadTexture (Context context, int resourceId, int tex_id)
270270
GL.TexParameterx (All.Texture2D, All.TextureWrapS, (int)All.ClampToEdge);
271271
GL.TexParameterx (All.Texture2D, All.TextureWrapT, (int)All.ClampToEdge);
272272

273-
Bitmap b = BitmapFactory.DecodeResource (context.Resources, resourceId);
273+
Android.Graphics.Bitmap b = BitmapFactory.DecodeResource (context.Resources, resourceId);
274274

275275
Android.Opengl.GLUtils.TexImage2D ((int)All.Texture2D, 0, b, 0);
276276
}

TexturedCubeES30-1.0/PaintingView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ void LoadTexture (Context context, int resourceId, int tex_id)
283283
GL.TexParameter (TextureTarget.Texture2D, TextureParameterName.TextureWrapS, (int)TextureWrapMode.Repeat);
284284
GL.TexParameter (TextureTarget.Texture2D, TextureParameterName.TextureWrapT, (int)TextureWrapMode.Repeat);
285285

286-
Bitmap b = BitmapFactory.DecodeResource (context.Resources, resourceId);
286+
Android.Graphics.Bitmap b = BitmapFactory.DecodeResource (context.Resources, resourceId);
287287

288288
Android.Opengl.GLUtils.TexImage2D ((int)All.Texture2D, 0, b, 0);
289289
b.Recycle ();

0 commit comments

Comments
 (0)