[Agate-svn-commit] SF.net SVN: agate:[995] branches/agate3d-3.2
Status: Alpha
Brought to you by:
kanato
|
From: <ka...@us...> - 2009-05-20 03:37:29
|
Revision: 995
http://agate.svn.sourceforge.net/agate/?rev=995&view=rev
Author: kanato
Date: 2009-05-20 03:37:24 +0000 (Wed, 20 May 2009)
Log Message:
-----------
Deprecate the DoLighting in DisplayImpl.
Modified Paths:
--------------
branches/agate3d-3.2/AgateLib/ImplementationBase/DisplayImpl.cs
branches/agate3d-3.2/Drivers/AgateDrawing/Drawing_Display.cs
Modified: branches/agate3d-3.2/AgateLib/ImplementationBase/DisplayImpl.cs
===================================================================
--- branches/agate3d-3.2/AgateLib/ImplementationBase/DisplayImpl.cs 2009-05-20 03:33:19 UTC (rev 994)
+++ branches/agate3d-3.2/AgateLib/ImplementationBase/DisplayImpl.cs 2009-05-20 03:37:24 UTC (rev 995)
@@ -553,7 +553,11 @@
/// Gets all the light settings from the LightManager.
/// </summary>
/// <param name="lights"></param>
- public abstract void DoLighting(LightManager lights);
+ [Obsolete()]
+ public virtual void DoLighting(LightManager lights)
+ {
+ throw new NotImplementedException("DoLighting is not implemented, and also deprecated.");
+ }
/// <summary>
/// Processes pending events.
Modified: branches/agate3d-3.2/Drivers/AgateDrawing/Drawing_Display.cs
===================================================================
--- branches/agate3d-3.2/Drivers/AgateDrawing/Drawing_Display.cs 2009-05-20 03:33:19 UTC (rev 994)
+++ branches/agate3d-3.2/Drivers/AgateDrawing/Drawing_Display.cs 2009-05-20 03:37:24 UTC (rev 995)
@@ -250,10 +250,6 @@
{
throw new AgateException("SetOrthoProjection is not implemented in AgateDrawing.dll.");
}
- public override void DoLighting(LightManager lights)
- {
- throw new AgateException("Lighting is not supported by AgateDrawing. Use a 3D accelerated driver such as AgateOTK or AgateMDX for lighting support.");
- }
protected override void SavePixelBuffer(PixelBuffer pixelBuffer, string filename, ImageFileFormat format)
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|