amethyst / amethyst/bracket-lib

nVidia support

Đang mở
#45 0 bình luận 0 reaction 1 người được giao Được @thebracket nhận Xem trên GitHub
Ngôn ngữ chính
Rust
Star
1.7k
Fork
126
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.