[Agate-svn-commit] SF.net SVN: agate:[996] branches/agate3d-3.2/Drivers/AgateSDX
Status: Alpha
Brought to you by:
kanato
|
From: <ka...@us...> - 2009-05-20 03:43:23
|
Revision: 996
http://agate.svn.sourceforge.net/agate/?rev=996&view=rev
Author: kanato
Date: 2009-05-20 03:43:15 +0000 (Wed, 20 May 2009)
Log Message:
-----------
SDX_Display: mark vsync as obsolete.
Remove references to VertexFormat.
Modified Paths:
--------------
branches/agate3d-3.2/Drivers/AgateSDX/D3DDevice.cs
branches/agate3d-3.2/Drivers/AgateSDX/SDX_Display.cs
branches/agate3d-3.2/Drivers/AgateSDX/SDX_VertexBuffer.cs
Modified: branches/agate3d-3.2/Drivers/AgateSDX/D3DDevice.cs
===================================================================
--- branches/agate3d-3.2/Drivers/AgateSDX/D3DDevice.cs 2009-05-20 03:37:24 UTC (rev 995)
+++ branches/agate3d-3.2/Drivers/AgateSDX/D3DDevice.cs 2009-05-20 03:43:15 UTC (rev 996)
@@ -159,18 +159,6 @@
{
get { return mDrawBuffer; }
}
- public VertexFormat VertexFormat
- {
- get { return mVertexFormat; }
- set
- {
- if (mVertexFormat != value)
- {
- mVertexFormat = value;
- mDevice.VertexFormat = value;
- }
- }
- }
public bool AlphaBlend
{
get { return mAlphaBlend; }
Modified: branches/agate3d-3.2/Drivers/AgateSDX/SDX_Display.cs
===================================================================
--- branches/agate3d-3.2/Drivers/AgateSDX/SDX_Display.cs 2009-05-20 03:37:24 UTC (rev 995)
+++ branches/agate3d-3.2/Drivers/AgateSDX/SDX_Display.cs 2009-05-20 03:43:15 UTC (rev 996)
@@ -831,6 +831,7 @@
{
mDevice.SetOrthoProjection(region);
}
+ [Obsolete]
public override void DoLighting(LightManager lights)
{
FlushDrawBuffer();
Modified: branches/agate3d-3.2/Drivers/AgateSDX/SDX_VertexBuffer.cs
===================================================================
--- branches/agate3d-3.2/Drivers/AgateSDX/SDX_VertexBuffer.cs 2009-05-20 03:37:24 UTC (rev 995)
+++ branches/agate3d-3.2/Drivers/AgateSDX/SDX_VertexBuffer.cs 2009-05-20 03:43:15 UTC (rev 996)
@@ -201,7 +201,6 @@
mDisplay.D3D_Device.AlphaArgument1 = Direct3D.TextureArgument.Texture;
- mDisplay.D3D_Device.VertexFormat = SlimDX.Direct3D9.VertexFormat.None;
mDisplay.D3D_Device.Device.VertexDeclaration = mDeclaration;
mDisplay.D3D_Device.Device.Indices = indexbuffer.DeviceIndexBuffer;
mDisplay.D3D_Device.Device.SetStreamSource(0, mBuffer, 0, mLayout.VertexSize);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|