Я получаю следующую ошибку:
Код: Выделить всё
ERROR: Could not create graphics pipeline state! Error Code: Unknown Error (0x80004005)
ERROR: Could not create graphics pipeline state! Error Code: Unknown Error (0x80004005)
ERROR: Could not create graphics pipeline state! Error Code: Unknown Error (0x80004005)
ERROR: Could not create graphics pipeline state! Error Code: Unknown Error (0x80004005)
ERROR: Could not create graphics pipeline state! Error Code: Unknown Error (0x80004005)
ERROR: Could not create graphics pipeline state! Error Code: Unknown Error (0x80004005)
Failed to create pipeline: Could not create graphics pipeline state! Error Code: Unknown Error (0x80004005)
Код: Выделить всё
#include
#include
#include "include/game.hpp"
SDL_GPUBuffer* vertex_buf = nullptr;
void Game::init(const char* title, int width, int height, bool fullscreen) {
isrunning = false;
if (SDL_Init(SDL_INIT_VIDEO) < 0) {
std::cerr
Подробнее здесь: [url]https://stackoverflow.com/questions/79843429/graphics-pipeline-with-sdl-gpu-fails-to-initialize[/url]
Мобильная версия