driver/framebuffer.cpp: fix nevix box paint

This commit is contained in:
[CST] Focus
2013-03-27 14:38:43 +04:00
parent 60cfc785cd
commit b30d913dbd

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