amethyst / amethyst/bracket-lib

nVidia support

Aberta
#45 0 comentários 0 reações 1 responsável Reivindicada por @thebracket Ver no GitHub
Linguagem predominante
Rust
Estrelas
1.7k
Forks
126
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

/u/Morego writes:

I tried to solve it. It was error in context detection with opengl and DirectX later on in Glutin I think. On my laptop RLTK compiled normally runned with integrated graphic card and after renaming with Nvidia graphic card. Renaming enables Optimus optimization and Nvidia graphic card with newer version of Opengl context.

Alternatively it could work just fine with magic numbers of Nvidia set, but I have hard time finding out how to export those variables.

EDIT: Those are magic values. I have hard time exporting from Rust. If you know, how to do it I would be thankful. It should be enough.

extern "C" { _declspec(dllexport)
DWORD NvOptimusEnablement = 0x00000001; }

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.