summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2022-02-07 18:38:45 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2022-02-07 18:38:45 +0000
commitd6d99f94599c4d42ad1741c89615cf42fa3248be (patch)
treeca4f5cc031e877bd43d17684010c48d6a9d32eae /lib
parent9df8895dde5f64c3e452e4dcffedc295fa38bc57 (diff)
The color map support in wsfb(4) only supports up to 256 palette entries.
However for 30-bit color depth modes, Xorg assumes 1024 palette entries are supported. Since we don't actually support hardware with both 30-bit color depth and hardware palette support, skip the color map handling in that case. This is what the xf86-video-ati driver does as well. This prevents us from smashing the stack. ok matthieu@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions