Tag Info

New answers tagged

0

I believe you are running into the same issue as below. It is fixed in the development branch. MonoGame 3.2 installer installs Windows (DX) framework assembly into WindowsGL You can check by following these steps. Install MonoGame 3.2, then inspect Assemblies/WindowsGL/MonoGame.Framework.dll in ildasm. The assembly manifest is referencing SharpDX ...


1

public static Texture2D ConvertToTexture(System.Drawing.Bitmap b, GraphicsDevice graphicsDevice) { Texture2D tx = null; using (MemoryStream s = new MemoryStream()) { b.Save(s, System.Drawing.Imaging.ImageFormat.Png); s.Seek(0, SeekOrigin.Begin); tx = Texture2D.FromStream(graphicsDevice, s); ...


1

Just build the XNB file on your personal machine, and use that file in your project. Remove the .spritefont file from your content project. Then add the built XNB file to your game project, in an appropriate directory (generally "Content") and set its properties (select it and press F4) to "Copy if newer". This is off the top of my head. So look at the ...


0

I had to call glUseProgram(program) before glUniformMatrix4fv() or any other uniform call.



Top 50 recent answers are included