Direct2D QPA: Fix version check
It turns out that the version we were testing against was more recent than basic Windows 7 SP1 + Platform Update. The direct2d version that combination produces without any other updates is 6.2.9200.16492, and it is sufficient for us. Change-Id: Ib9840647371e2bb5c71bf74486348444ed4b4c19 Reviewed-by: Risto Avila <risto.avila@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
parent
ba28ca60f6
commit
35766fbe47
@ -80,12 +80,12 @@ private:
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// 6.2.9200.16765 corresponds to Direct2D 1.1 on Windows 7 SP1 with Platform Update
|
// 6.2.9200.16492 corresponds to Direct2D 1.1 on Windows 7 SP1 with Platform Update
|
||||||
enum {
|
enum {
|
||||||
D2DMinVersionPart1 = 6,
|
D2DMinVersionPart1 = 6,
|
||||||
D2DMinVersionPart2 = 2,
|
D2DMinVersionPart2 = 2,
|
||||||
D2DMinVersionPart3 = 9200,
|
D2DMinVersionPart3 = 9200,
|
||||||
D2DMinVersionPart4 = 16765
|
D2DMinVersionPart4 = 16492
|
||||||
};
|
};
|
||||||
|
|
||||||
static Direct2DVersion systemVersion() {
|
static Direct2DVersion systemVersion() {
|
||||||
|
Loading…
Reference in New Issue
Block a user