demos: Make the demos work in the macOS build.

This commit is contained in:
Henri Verbeet
2025-05-03 17:27:14 +02:00
parent 7b07d77396
commit b389fa89e4
Notes: Henri Verbeet 2025-05-06 19:05:45 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1482
9 changed files with 792 additions and 7 deletions

View File

@@ -0,0 +1,40 @@
{
"copyright" : [
"Copyright 2025 Henri Verbeet",
"",
"This library is free software; you can redistribute it and/or",
"modify it under the terms of the GNU Lesser General Public",
"License as published by the Free Software Foundation; either",
"version 2.1 of the License, or (at your option) any later version.",
"",
"This library is distributed in the hope that it will be useful,",
"but WITHOUT ANY WARRANTY; without even the implied warranty of",
"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU",
"Lesser General Public License for more details.",
"",
"You should have received a copy of the GNU Lesser General Public",
"License along with this library; if not, write to the Free Software",
"Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA"
],
"name" : "QuartzCore",
"interfaces" : [
{
"name" : "CAMetalLayer",
"class-methods" : [
{
"selector" : "layer",
"return-type" : "id"
}
],
"instance-methods" : [
{
"selector" : "release",
"return-type" : "void"
}
],
"properties" : [
{"type" : "double", "name" : "contentsScale", "float" : true}
]
}
]
}