ddraw: Avoid LPBYTE.
This commit is contained in:
parent
87ef65ab7b
commit
73a0327487
|
@ -306,7 +306,7 @@ struct d3d_device
|
|||
DWORD vertex_type;
|
||||
DWORD render_flags;
|
||||
DWORD nb_vertices;
|
||||
LPBYTE sysmem_vertex_buffer;
|
||||
BYTE *sysmem_vertex_buffer;
|
||||
DWORD vertex_size;
|
||||
DWORD buffer_size;
|
||||
|
||||
|
|
|
@ -860,7 +860,7 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, void *reserved)
|
|||
DWORD type, data, size;
|
||||
|
||||
size = sizeof(data);
|
||||
if (!RegQueryValueExA( hkey, "ForceRefreshRate", NULL, &type, (LPBYTE)&data, &size ) && type == REG_DWORD)
|
||||
if (!RegQueryValueExA(hkey, "ForceRefreshRate", NULL, &type, (BYTE *)&data, &size) && type == REG_DWORD)
|
||||
{
|
||||
TRACE("ForceRefreshRate set; overriding refresh rate to %d Hz\n", data);
|
||||
force_refresh_rate = data;
|
||||
|
|
Loading…
Reference in New Issue