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:
[CST] Focus
2013-03-27 14:38:43 +04:00
parent e9411db235
commit 9836600749

View File

@@ -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