System.NullReferenceException: A null value was found where an object instance was required.
in (unmanaged) 0x3c0
at (wrapper managed-to-native) Tao.OpenGl.Gl.glGenTextures (int,uint[]) <0x0000e>
at FSpot.Texture..ctor (int,int) <0x00051>
at FSpot.Texture..ctor (Gdk.Pixbuf) <0x00051>
at FSpot.TextureDisplay.CreateTexture () <0x000f7>
at FSpot.TextureDisplay.PreloadNext () <0x00020>
[DllImport("opengl32.dll", EntryPoint="glGenTextures"), SuppressUnmanagedCodeSecurity, CLSCompliantAttribute(false)]
public static extern void glGenTextures (int n, [Out] uint [] textures);