mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
driver/framebuffer.cpp: fix nevix box paint
Origin commit data
------------------
Branch: ni/coolstream
Commit: b30d913dbd
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-03-27 (Wed, 27 Mar 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -743,7 +743,7 @@ void CFrameBuffer::paintBoxRel(const int x, const int y, const int dx, const int
|
|||||||
#ifdef USE_NEVIS_GXA
|
#ifdef USE_NEVIS_GXA
|
||||||
_write_gxa(gxa_base, GXA_BLT_CONTROL_REG, 0);
|
_write_gxa(gxa_base, GXA_BLT_CONTROL_REG, 0);
|
||||||
_write_gxa(gxa_base, cmd, GXA_POINT(x + ofl, y + line)); /* destination x/y */
|
_write_gxa(gxa_base, cmd, GXA_POINT(x + ofl, y + line)); /* destination x/y */
|
||||||
_write_gxa(gxa_base, cmd, GXA_POINT(dx-ofr-ofr, 1)); /* width/height */
|
_write_gxa(gxa_base, cmd, GXA_POINT(dx-ofl-ofr, 1)); /* width/height */
|
||||||
#else
|
#else
|
||||||
paintHLineRelInternal(x+ofl, dx-ofl-ofr, y+line, col);
|
paintHLineRelInternal(x+ofl, dx-ofl-ofr, y+line, col);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user