From 1c6d4353f742a740e54b234db4d7b8913d515376 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Thu, 26 May 2016 16:04:03 +0200 Subject: One GraphicsInfo to rule them all Rename RendererInfo to GraphicsInfo. Deprecate OpenGLInfo and move the surface format properties into GraphicsInfo. Move also the shader info properties from ShaderEffect. Change-Id: I3b3f01080e059b3a30a132fd67de19a4bfca54ef Reviewed-by: Andy Nichols --- examples/quick/scenegraph/rendernode/main.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/quick/scenegraph/rendernode/main.qml b/examples/quick/scenegraph/rendernode/main.qml index bae77aabd3..c647aab88d 100644 --- a/examples/quick/scenegraph/rendernode/main.qml +++ b/examples/quick/scenegraph/rendernode/main.qml @@ -38,7 +38,7 @@ ** ****************************************************************************/ -import QtQuick 2.8 // for RendererInfo +import QtQuick 2.8 import SceneGraphRendering 2.0 Item { @@ -89,8 +89,8 @@ Item { anchors.right: renderer.right anchors.margins: 20 wrapMode: Text.WordWrap - property int api: RendererInfo.api - text: "Custom rendering via the graphics API " + (api === RendererInfo.OpenGL ? "OpenGL" : (api === RendererInfo.Direct3D12 ? "Direct3D 12" : "")) + property int api: GraphicsInfo.api + text: "Custom rendering via the graphics API " + (api === GraphicsInfo.OpenGL ? "OpenGL" : (api === GraphicsInfo.Direct3D12 ? "Direct3D 12" : "")) color: "yellow" } } -- cgit v1.2.3