removed B_BAD_VALUE override in proposemode.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14944 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen
2005-11-15 12:36:57 +00:00
parent 94419876a5
commit 6ff4803446
2 changed files with 3 additions and 14 deletions
@@ -4,7 +4,7 @@
Other authors for NV driver: Other authors for NV driver:
Mark Watson, Mark Watson,
Rudolf Cornelissen 9/2002-10/2004 Rudolf Cornelissen 9/2002-11/2005
*/ */
#define MODULE_BIT 0x00400000 #define MODULE_BIT 0x00400000
@@ -321,10 +321,6 @@ status_t PROPOSE_DISPLAY_MODE(display_mode *target, const display_mode *low, con
{ {
status = B_BAD_VALUE; status = B_BAD_VALUE;
} }
else
{
status = B_OK;
}
LOG(4, ("PROPOSEMODE: WARNING: horizontal timing deviates too much\n")); LOG(4, ("PROPOSEMODE: WARNING: horizontal timing deviates too much\n"));
} }
@@ -346,10 +342,6 @@ status_t PROPOSE_DISPLAY_MODE(display_mode *target, const display_mode *low, con
{ {
status = B_BAD_VALUE; status = B_BAD_VALUE;
} }
else
{
status = B_OK;
}
LOG(4, ("PROPOSEMODE: WARNING: vertical timing deviates too much\n")); LOG(4, ("PROPOSEMODE: WARNING: vertical timing deviates too much\n"));
} }
@@ -374,10 +366,6 @@ status_t PROPOSE_DISPLAY_MODE(display_mode *target, const display_mode *low, con
{ {
status = B_BAD_VALUE; status = B_BAD_VALUE;
} }
else
{
status = B_OK;
}
LOG(4, ("PROPOSEMODE: WARNING: pixelclock deviates too much\n")); LOG(4, ("PROPOSEMODE: WARNING: pixelclock deviates too much\n"));
} }
+2 -1
View File
@@ -676,7 +676,7 @@ status_t eng_crtc_cursor_define(uint8* andMask,uint8* xorMask)
return B_OK; return B_OK;
// //
for (y = 0; y < 1; y++)//hele hoogte invert /* for (y = 0; y < 1; y++)//hele hoogte invert
{ {
cursor[0 + (y*4)] = 0xff;//linker helft invert cursor[0 + (y*4)] = 0xff;//linker helft invert
cursor[0 + (1*4)] = 0xff;//rechter helft invert cursor[0 + (1*4)] = 0xff;//rechter helft invert
@@ -688,6 +688,7 @@ status_t eng_crtc_cursor_define(uint8* andMask,uint8* xorMask)
// cursor[64 + (y * 4)] = *xorMask++; // cursor[64 + (y * 4)] = *xorMask++;
// cursor[96 + (y * 4)] = *xorMask++; // cursor[96 + (y * 4)] = *xorMask++;
} }
*/
} }
/* position the cursor */ /* position the cursor */