GFLSDK 2.90 gflCBitmap.cpp bug
Posted: Thu Dec 25, 2008 8:49 pm
there is a minor bug in file gflCBitmap.cpp,
method GFLC_BITMAP::create(const GFLC_BITMAP & bitmap),
there is,
should be
where padding should be computed. (create method expects width and height to be 2nd and 3rd parameter)
method GFLC_BITMAP::create(const GFLC_BITMAP & bitmap),
there is
Code: Select all
return create(bitmap.getType(), bitmap.getBitsPerComponent(), bitmap.getWidth(), bitmap.getHeight(), bitmap.getBitsPerComponent())
should be
Code: Select all
return create(bitmap.getType(), bitmap.getWidth(), bitmap.getHeight(), bitmap.getBitsPerComponent(), padding)