зеркало из https://github.com/mozilla/moz-skia.git
Windows compiler complaint cleanup
http://codereview.appspot.com/6262047/ git-svn-id: http://skia.googlecode.com/svn/trunk@4098 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
be6188d647
Коммит
d414406073
|
@ -84,7 +84,7 @@
|
||||||
static inline float SkIntToScalar(unsigned long param) {
|
static inline float SkIntToScalar(unsigned long param) {
|
||||||
return (float)param;
|
return (float)param;
|
||||||
}
|
}
|
||||||
static inline float SkIntToScalar(float param) {
|
static inline float SkIntToScalar(float /* param */) {
|
||||||
/* If the parameter passed into SkIntToScalar is a float,
|
/* If the parameter passed into SkIntToScalar is a float,
|
||||||
* one of two things has happened:
|
* one of two things has happened:
|
||||||
* 1. the parameter was an SkScalar (which is typedef'd to float)
|
* 1. the parameter was an SkScalar (which is typedef'd to float)
|
||||||
|
|
|
@ -105,7 +105,7 @@ public:
|
||||||
return this->dotWith(v.fX, v.fY, v.fZ);
|
return this->dotWith(v.fX, v.fY, v.fZ);
|
||||||
}
|
}
|
||||||
|
|
||||||
// depreicated, but still here for animator (for now)
|
// deprecated, but still here for animator (for now)
|
||||||
void rotate(SkScalar x, SkScalar y, SkScalar z) {}
|
void rotate(SkScalar x, SkScalar y, SkScalar z) {}
|
||||||
void rotateDegrees(SkScalar x, SkScalar y, SkScalar z) {}
|
void rotateDegrees(SkScalar x, SkScalar y, SkScalar z) {}
|
||||||
|
|
||||||
|
|
|
@ -92,7 +92,7 @@ void SkGroupShape::flatten(SkFlattenableWriteBuffer& buffer) const {
|
||||||
const Rec* stop = fList.end();
|
const Rec* stop = fList.end();
|
||||||
while (rec < stop) {
|
while (rec < stop) {
|
||||||
buffer.writeFlattenable(rec->fShape);
|
buffer.writeFlattenable(rec->fShape);
|
||||||
buffer.writeBool(rec->fMatrixRef);
|
buffer.writeBool(NULL != rec->fMatrixRef);
|
||||||
if (rec->fMatrixRef) {
|
if (rec->fMatrixRef) {
|
||||||
buffer.writeMatrix(*rec->fMatrixRef);
|
buffer.writeMatrix(*rec->fMatrixRef);
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,7 +27,6 @@ static void test_poly(skiatest::Reporter* reporter, const SkPath& path,
|
||||||
const SkPoint srcPts[], int count, bool expectClose) {
|
const SkPoint srcPts[], int count, bool expectClose) {
|
||||||
SkPath::RawIter iter(path);
|
SkPath::RawIter iter(path);
|
||||||
SkPoint pts[4];
|
SkPoint pts[4];
|
||||||
SkPath::Verb verb;
|
|
||||||
|
|
||||||
bool firstTime = true;
|
bool firstTime = true;
|
||||||
bool foundClose = false;
|
bool foundClose = false;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче