summaryrefslogtreecommitdiff
path: root/hw/kdrive/fbdev/fbdev.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2001-07-19 08:46:30 +0000
committerKeith Packard <keithp@keithp.com>2001-07-19 08:46:30 +0000
commit9826d5a1339570c037ae1ef29c9a237874a6ffa2 (patch)
treef2e406497a3ce6fd033e60a99573973092259359 /hw/kdrive/fbdev/fbdev.c
parent35d8b5f44269c97497c73d3638b8f0345757c04c (diff)
kdrive/fbdev: only setting first colormap entry on static hardware
Diffstat (limited to 'hw/kdrive/fbdev/fbdev.c')
-rw-r--r--hw/kdrive/fbdev/fbdev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/kdrive/fbdev/fbdev.c b/hw/kdrive/fbdev/fbdev.c
index 50daf14a6..104d76582 100644
--- a/hw/kdrive/fbdev/fbdev.c
+++ b/hw/kdrive/fbdev/fbdev.c
@@ -21,7 +21,7 @@
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $XFree86: xc/programs/Xserver/hw/kdrive/fbdev/fbdev.c,v 1.24 2001/07/11 16:42:17 keithp Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/kdrive/fbdev/fbdev.c,v 1.25 2001/07/16 19:48:00 keithp Exp $ */
#include "fbdev.h"
@@ -676,7 +676,6 @@ fbdevCreateColormap (ColormapPtr pmap)
pmap->red[i].co.local.red = pdefs[i].red;
pmap->red[i].co.local.green = pdefs[i].green;
pmap->red[i].co.local.blue = pdefs[i].blue;
- break;
}
DEALLOCATE_LOCAL (pdefs);
return TRUE;