Permalink
Browse files

Fixed HalfVector case for OpenGLVertexAttribPointerType() in Graphics…

…Extensions.cs for MacOS build.
  • Loading branch information...
bonesoul committed Mar 23, 2012
1 parent 25e4b06 commit 4470cadf3f260a652e3be82243837faa7be1d4b5
Showing with 1 addition and 3 deletions.
  1. +1 −3 MonoGame.Framework/Graphics/GraphicsExtensions.cs
@@ -179,11 +179,9 @@ public static VertexAttribPointerType OpenGLVertexAttribPointerType(this VertexE
case VertexElementFormat.NormalizedShort4:
return VertexAttribPointerType.Short;

#if MONOMAC || WINDOWS || LINUX
case VertexElementFormat.HalfVector2:
return VertexAttribPointerType.HalfFloat;
#if MONOMAC
case VertexElementFormat.HalfVector2:
return VertexAttribPointerType.HalfFloat;

case VertexElementFormat.HalfVector4:
return VertexAttribPointerType.HalfFloat;

0 comments on commit 4470cad

Please sign in to comment.