[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-cvs] CVS: paragui/src/draw gradient.cpp,1.3.2.3,1.3.2.4
From: |
Alexander Pipelka <address@hidden> |
Subject: |
[paragui-cvs] CVS: paragui/src/draw gradient.cpp,1.3.2.3,1.3.2.4 |
Date: |
Thu, 31 Oct 2002 14:22:35 -0500 |
Update of /cvsroot/paragui/paragui/src/draw
In directory subversions:/tmp/cvs-serv23202/src/draw
Modified Files:
Tag: devel-opengl
gradient.cpp
Log Message:
- fixed weird gradients
- updated .cvsignore
Index: gradient.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/draw/gradient.cpp,v
retrieving revision 1.3.2.3
retrieving revision 1.3.2.4
diff -C2 -r1.3.2.3 -r1.3.2.4
*** gradient.cpp 30 Oct 2002 09:16:29 -0000 1.3.2.3
--- gradient.cpp 31 Oct 2002 19:22:17 -0000 1.3.2.4
***************
*** 34,37 ****
--- 34,38 ----
#include "pgdraw.h"
#include "drawpriv.hh"
+ #include "pglog.h"
namespace PG_Draw {
***************
*** 77,82 ****
Sint32 v10,v11,v12;
! Uint32 w = rect.my_width;
! Uint32 h = rect.my_height;
if (!surface)
--- 78,83 ----
Sint32 v10,v11,v12;
! Sint32 w = rect.my_width;
! Sint32 h = rect.my_height;
if (!surface)
***************
*** 211,217 ****
case 4:
! pixel = (r>>Rloss) << Rshift
| (g>>Gloss) <<
Gshift
! | (b>>Bloss) <<
Bshift;
*((Uint32 *) (bits)) = (Uint32) pixel;
--- 212,219 ----
case 4:
! pixel = surface->MapRGB(r>>8, g>>8,
b>>8);
! /*pixel = (r>>Rloss) << Rshift
| (g>>Gloss) <<
Gshift
! | (b>>Bloss) <<
Bshift;*/
*((Uint32 *) (bits)) = (Uint32) pixel;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paragui-cvs] CVS: paragui/src/draw gradient.cpp,1.3.2.3,1.3.2.4,
Alexander Pipelka <address@hidden> <=
- Prev by Date:
[paragui-cvs] CVS: paragui .cvsignore,1.2.2.1,1.2.2.2
- Next by Date:
[paragui-cvs] CVS: paragui/src/draw/opengl pgglroot.cpp,1.1.2.3,1.1.2.4 pgglsurf.cpp,1.1.2.5,1.1.2.6
- Previous by thread:
[paragui-cvs] CVS: paragui .cvsignore,1.2.2.1,1.2.2.2
- Next by thread:
[paragui-cvs] CVS: paragui/src/draw/opengl pgglroot.cpp,1.1.2.3,1.1.2.4 pgglsurf.cpp,1.1.2.5,1.1.2.6
- Index(es):