Enlightenment CVS committal
Author : kwo
Project : e17
Module : libs/imlib2
Dir : e17/libs/imlib2/src/lib
Modified Files:
rend.c
Log Message:
Remove effectively unused actual_depth variable.
===================================================================
RCS file: /cvs/e/e17/libs/imlib2/src/lib/rend.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- rend.c 9 Apr 2006 08:12:51 -0000 1.3
+++ rend.c 18 May 2006 21:37:45 -0000 1.4
@@ -26,12 +26,8 @@
int depth, DATA8 r, DATA8 g, DATA8 b)
{
Context *ct;
- int actual_depth;
ct = __imlib_GetContext(d, v, cm, depth);
- actual_depth = depth;
- if (depth == 16)
- actual_depth = __imlib_XActualDepth(d, v);
if (ct->palette)
{
@@ -258,7 +254,6 @@
XGCValues gcv;
ImlibScaleInfo *scaleinfo = NULL;
int psx, psy, psw, psh;
- int actual_depth = 0;
char shm = 0;
ImlibRGBAFunction rgbaer, masker = NULL;
ImlibBlendFunction blender = NULL;
@@ -312,9 +307,6 @@
dw = abs(dw);
dh = abs(dh);
ct = __imlib_GetContext(d, v, cm, depth);
- actual_depth = depth;
- if (depth == 16)
- actual_depth = __imlib_XActualDepth(d, v);
__imlib_RGBASetupContext(ct);
if ((blend) && (IMAGE_HAS_ALPHA(im)))
{
@@ -335,9 +327,6 @@
free(back);
return;
}
- /* do a double check in 24/32bpp */
- if ((xim->bits_per_pixel == 32) && (depth == 24))
- actual_depth = 32;
if (m)
{
mxim = __imlib_ProduceXImage(d, v, 1, dw, dh, &shm);
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs