Subversion Repositories Kolibri OS

Rev

Rev 877 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 877 Rev 878
Line 33... Line 33...
33
  {
33
  {
34
     printf("Can't open /rd/1/drivers/ati2d.log\nExit\n");
34
     printf("Can't open /rd/1/drivers/ati2d.log\nExit\n");
35
     return 0;
35
     return 0;
36
  }
36
  }
37
 
37
  if( GetScreenBpp() != 32)
-
 
38
  {
-
 
39
     printf("32 bpp dispaly mode required !\nExit\t");
-
 
40
     return 0;
-
 
41
  }
-
 
42
 
Line 38... Line 43...
38
  if((rhdPtr=FindPciDevice())==NULL)
43
  if((rhdPtr=FindPciDevice())==NULL)
39
  {
44
  {
40
    dbgprintf("Device not found\n");
45
    dbgprintf("Device not found\n");
41
    return 0;
46
    return 0;
Line 104... Line 109...
104
          return DestroyPixmap((pixmap_t*)inp);
109
          return DestroyPixmap((pixmap_t*)inp);
105
        break;
110
        break;
106
 
111
 
Line 107... Line 112...
107
      case PX_DRAW_RECT:
112
      case PX_DRAW_RECT:
108
        if(io->inp_size==6)
113
        if(io->inp_size==7)
109
          return DrawRect((draw_t*)inp);
114
          return DrawRect((draw_t*)inp);
110
        break;
115
        break;
Line 111... Line 116...
111
 
116
 
112
      case PX_FILL_RECT:
117
      case PX_FILL_RECT: