Some cleanup and restructuring
Increased max vertex count to 10000, which will result in a dynamic vertex buffer up to 1MB
This commit is contained in:
1 parent
6734ddb7e0
commit
7b06ac12bd
2 files changed
+3
-1
No files matched your search
@@ -61,7 +61,7 @@ namespace Vocaluxe.Base
|
|||||||
public static int zFar = 100;
|
public static int zFar = 100;
|
||||||
|
|
||||||
public static bool bFullScreen = false;
|
public static bool bFullScreen = false;
|
||||||
public static int iVertexBufferElements = 1000;
|
public static int iVertexBufferElements = 10000;
|
||||||
|
|
||||||
public const string sIcon = "Vocaluxe.ico";
|
public const string sIcon = "Vocaluxe.ico";
|
||||||
public const string sLogo = "Logo.png";
|
public const string sLogo = "Logo.png";
|
||||||
|
|||||||
@@ -178,6 +178,8 @@ namespace Vocaluxe.Lib.Draw
|
|||||||
blankTexture = AddTexture(blankMap);
|
blankTexture = AddTexture(blankMap);
|
||||||
|
|
||||||
blankMap.Dispose();
|
blankMap.Dispose();
|
||||||
|
|
||||||
|
int size = Marshal.SizeOf(typeof(TexturedColoredVertex));
|
||||||
}
|
}
|
||||||
|
|
||||||
#region form events
|
#region form events
|
||||||
|
|||||||
Reference in new issue
Block a user