amethyst / amethyst/bracket-lib

nVidia support

Abierto
#45 0 comentarios 0 reacciones 1 asignado Reclamado por @thebracket Ver en GitHub
Lenguaje dominante
Rust
Estrellas
1.7k
Forks
126
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

/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; }

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.