view os2/dwcompat.def @ 1835:0123e8aec5b4

Fix crash when loading 8bpp images on OS/2 with GBM... We needed to allocate a 256 unit GBMRBG array not 1. Colors don't display properly with my test image, but it no longer crashes... must need to do something with the palette.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 08 Nov 2012 19:34:24 +0000
parents 6e26c9ead2fe
children
line wrap: on
line source

LIBRARY DWCOMPAT INITINSTANCE TERMINSTANCE

DESCRIPTION 'Dynamic Windows Compatibility Module for OS/2'

CODE LOADONCALL
DATA NONSHARED LOADONCALL

EXPORTS
  makedir            @20
  vargs              @21
  setfileinfo        @22
  drivefree          @23
  isdrive            @24
  drivesize          @25
  getfsname          @26

  _opendir           @30
  _openxdir          @31
  _readdir           @32
  _seekdir           @33
  _telldir           @34
  _closedir          @35

  fsopen             @40
  fsclose            @41
  fsgets             @42
  fsseek             @43

  locale_init        @50
  locale_string      @51
  
  nice_strformat     @60
  initdir            @61