Lines Matching refs:pal
1690 const PALETTEENTRY *pal = NULL;
1695 pal = This->palette->palents;
1710 if(*red == pal[c].peRed &&
1711 *green == pal[c].peGreen &&
1712 *blue == pal[c].peBlue)
2375 const PALETTEENTRY *pal = NULL;
2378 pal = This->palette->palents;
2390 pal = dds_primary->palette->palents;
2393 if (pal) {
2395 col[n].rgbRed = pal[n].peRed;
2396 col[n].rgbGreen = pal[n].peGreen;
2397 col[n].rgbBlue = pal[n].peBlue;
2549 IWineD3DPaletteImpl *pal = This->palette;
2560 if (!pal)
2591 TRACE("Using surface palette %p\n", pal);
2595 table[i][0] = pal->palents[i].peRed;
2596 table[i][1] = pal->palents[i].peGreen;
2597 table[i][2] = pal->palents[i].peBlue;
2614 else if(pal->Flags & WINEDDPCAPS_ALPHA)
2616 table[i][3] = pal->palents[i].peFlags;
2642 IWineD3DPaletteImpl* pal = This->palette;
2646 if( pal == NULL) {
4512 IWineD3DPaletteImpl *pal = This->palette;
4516 if (!pal) return WINED3D_OK;
4541 col[n].rgbRed = pal->palents[n].peRed;
4542 col[n].rgbGreen = pal->palents[n].peGreen;
4543 col[n].rgbBlue = pal->palents[n].peBlue;