[haiku-commits] r41352 - haiku/trunk/src/add-ons/accelerants/radeon_hd

  • From: kallisti5@xxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 6 May 2011 22:19:02 +0200 (CEST)

Author: kallisti5
Date: 2011-05-06 22:19:01 +0200 (Fri, 06 May 2011)
New Revision: 41352
Changeset: https://dev.haiku-os.org/changeset/41352

Modified:
   haiku/trunk/src/add-ons/accelerants/radeon_hd/mode.cpp
Log:
revert _currentMode back to the way it should be

Modified: haiku/trunk/src/add-ons/accelerants/radeon_hd/mode.cpp
===================================================================
--- haiku/trunk/src/add-ons/accelerants/radeon_hd/mode.cpp      2011-05-06 
20:11:05 UTC (rev 41351)
+++ haiku/trunk/src/add-ons/accelerants/radeon_hd/mode.cpp      2011-05-06 
20:19:01 UTC (rev 41352)
@@ -293,7 +293,7 @@
 {
        TRACE("%s\n", __func__);
 
-       _currentMode = &sDisplayMode;
+       *_currentMode = sDisplayMode;
        return B_OK;
 }
 


Other related posts:

  • » [haiku-commits] r41352 - haiku/trunk/src/add-ons/accelerants/radeon_hd - kallisti5