Code was checking bitmap for a display flag, resulting in al_get_d3d_texture_size always returning 0s for D3D bitmaps.