small matters concerning "ActiveWindow" on non-Windows

This commit is contained in:
dborca
2004-10-08 06:28:37 +00:00
parent 8b98c55564
commit 7f45a997ab
4 changed files with 7 additions and 4 deletions

View File

@@ -19,6 +19,9 @@
**
** $Header$
** $Log$
** Revision 1.1.1.1.8.2 2004/02/16 07:42:15 dborca
** grSetNumPendingBuffers visible with grGetProcAddress
**
** Revision 1.1.1.1.8.1 2003/11/03 13:34:29 dborca
** Voodoo2 happiness (DJGPP & Linux)
**
@@ -434,7 +437,7 @@ GR_ENTRY(grSstWinOpen, GrContext_t, (
goto BAILOUT;
}
#ifndef __linux__
#if !defined(__linux__) && !(GLIDE_PLATFORM & GLIDE_OS_DOS32)
if (!hWnd)
GrErrorCallback("grSstWinOpen: need to use a valid window handle",
FXTRUE);

View File

@@ -104,7 +104,7 @@ void main( int argc, char **argv) {
assert( hwconfig = tlVoodooType() );
grSstSelect( 0 );
assert( grSstWinOpen( 0,
assert( grSstWinOpen( tlGethWnd(),
resolution,
GR_REFRESH_60Hz,
GR_COLORFORMAT_ABGR,

View File

@@ -104,7 +104,7 @@ void main( int argc, char **argv) {
assert( hwconfig = tlVoodooType() );
grSstSelect( 0 );
assert( grSstWinOpen( 0,
assert( grSstWinOpen( tlGethWnd(),
resolution,
GR_REFRESH_60Hz,
GR_COLORFORMAT_ABGR,

View File

@@ -104,7 +104,7 @@ void main( int argc, char **argv) {
assert( hwconfig = tlVoodooType() );
grSstSelect( 0 );
assert( grSstWinOpen( 0,
assert( grSstWinOpen( tlGethWnd(),
resolution,
GR_REFRESH_60Hz,
GR_COLORFORMAT_ABGR,