mirror of
https://github.com/reactos/wine.git
synced 2025-02-03 10:43:30 +00:00
wined3d: Update nvidia GPUs.
This commit is contained in:
parent
fe5b8ada64
commit
38a98f6789
@ -1069,6 +1069,16 @@ BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
|
||||
* shader capabilities, so we use the shader capabilities to distinguish between FX and 6xxx/7xxx.
|
||||
*/
|
||||
if(WINE_D3D9_CAPABLE(gl_info) && (gl_info->vs_nv_version == VS_VERSION_30)) {
|
||||
/* Geforce9 - highend */
|
||||
if(strstr(gl_info->gl_renderer, "9800")) {
|
||||
gl_info->gl_card = CARD_NVIDIA_GEFORCE_9800GT;
|
||||
vidmem = 512;
|
||||
}
|
||||
/* Geforce9 - midend */
|
||||
else if(strstr(gl_info->gl_renderer, "9600")) {
|
||||
gl_info->gl_card = CARD_NVIDIA_GEFORCE_9600GT;
|
||||
vidmem = 384; /* The 9600GSO has 384MB, the 9600GT has 512-1024MB */
|
||||
}
|
||||
/* Geforce8 - highend */
|
||||
if (strstr(gl_info->gl_renderer, "8800")) {
|
||||
gl_info->gl_card = CARD_NVIDIA_GEFORCE_8800GTS;
|
||||
|
@ -3243,6 +3243,8 @@ typedef enum _GL_Cards {
|
||||
CARD_NVIDIA_GEFORCE_8600GT = 0x0402,
|
||||
CARD_NVIDIA_GEFORCE_8600MGT = 0x0407,
|
||||
CARD_NVIDIA_GEFORCE_8800GTS = 0x0193,
|
||||
CARD_NVIDIA_GEFORCE_9600GT = 0x0622,
|
||||
CARD_NVIDIA_GEFORCE_9800GT = 0x0614,
|
||||
|
||||
CARD_INTEL_845G = 0x2562,
|
||||
CARD_INTEL_I830G = 0x3577,
|
||||
|
Loading…
x
Reference in New Issue
Block a user